1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 12:52:10 +00:00

Add base url to atom feed

helps with relative links
This commit is contained in:
Rohan Kumar 2022-06-01 17:37:31 -07:00
parent 71bb714ba2
commit 0f930c28f7
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -26,7 +26,7 @@
</author>
<id>{{ .Permalink }}</id>
<rights>CC-BY-SA 4.0 by Rohan Kumar</rights>
<content type="xhtml">
<content type="xhtml" xml:base="{{ .Permalink }}">
<div xmlns="http://www.w3.org/1999/xhtml">
{{ partial "processed-content.html" . | replaceRE `(?: )?(?:item(type|scope|prop|id|ref)="[^"]*"|class="language-figure")` "" | safeHTML }}
</div>