1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 12:52:10 +00:00
This commit is contained in:
Rohan Kumar 2022-05-31 21:38:34 -07:00
parent a46b790a62
commit c50ea3c34f
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@
<rights>CC-BY-SA 4.0 by Rohan Kumar</rights> <rights>CC-BY-SA 4.0 by Rohan Kumar</rights>
<content type="xhtml"> <content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"> <div xmlns="http://www.w3.org/1999/xhtml">
{{ partial "processed-content.html" . | replaceRE `(?: )?item(scope|prop|id|ref)="[^"]*"` "" | safeHTML }} {{ partial "processed-content.html" . | replaceRE `(?: )?item(type|scope|prop|id|ref)="[^"]*"` "" | safeHTML }}
</div> </div>
</content> </content>
<object-type xmlns="http://activitystrea.ms/spec/1.0/"> <object-type xmlns="http://activitystrea.ms/spec/1.0/">

View file

@ -35,7 +35,7 @@
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}} {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid> <guid>{{ .Permalink }}</guid>
<description>{{- .Content | replaceRE `(?: )?item(scope|prop|id|ref)="[^"]*"` "" | html -}}</description> <description>{{- .Content | replaceRE `(?: )?item(type|scope|prop|id|ref)="[^"]*"` "" | html -}}</description>
</item> </item>
{{ end }} {{ end }}
{{ end }} {{ end }}