Update to Goldmark
This commit is contained in:
parent
ade1bdd37f
commit
01e79c10cc
5 changed files with 15 additions and 10 deletions
1
layouts/_default/_markup/render-image.html
Normal file
1
layouts/_default/_markup/render-image.html
Normal file
|
@ -0,0 +1 @@
|
|||
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" height="32" width="32" style="vertical-align:middle">
|
1
layouts/_default/_markup/render-link.html
Normal file
1
layouts/_default/_markup/render-link.html
Normal file
|
@ -0,0 +1 @@
|
|||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|
Loading…
Add table
Add a link
Reference in a new issue