mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Remove unused "language-figure" class from feeds
This commit is contained in:
parent
7c709cb91e
commit
854010c8c4
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
<rights>CC-BY-SA 4.0 by Rohan Kumar</rights>
|
||||
<content type="xhtml">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||
{{ partial "processed-content.html" . | replaceRE `(?: )?item(type|scope|prop|id|ref)="[^"]*"` "" | safeHTML }}
|
||||
{{ partial "processed-content.html" . | replaceRE `(?: )?(?:item(type|scope|prop|id|ref)="[^"]*"|class="language-figure")` "" | safeHTML }}
|
||||
</div>
|
||||
</content>
|
||||
<object-type xmlns="http://activitystrea.ms/spec/1.0/">
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<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}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{- .Content | replaceRE `(?: )?item(type|scope|prop|id|ref)="[^"]*"` "" | html -}}</description>
|
||||
<description>{{- .Content | replaceRE `(?: )?(?:item(type|scope|prop|id|ref)="[^"]*"|class="language-figure")` "" | html -}}</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue