Fix link and heading rendering in RSS
This commit is contained in:
parent
9b9a0ff86c
commit
e9d0a53187
2 changed files with 3 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
<h{{ add .Level 2 }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}</h{{ add .Level 2 }}>
|
2
themes/red/layouts/_default/_markup/render-link.rss.xml
Normal file
2
themes/red/layouts/_default/_markup/render-link.rss.xml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
<a href="{{ .Destination | safeURL }}" {{ if strings.HasPrefix .Destination "http" }}
|
||||||
|
target="_blank"{{ end }}>{{ .Text | safeHTML }}</a>
|
Loading…
Add table
Reference in a new issue