diff options
author | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 21:01:11 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 21:01:11 +0200 |
commit | 582a8a33aff644a6b07534aaf677973abc6f154c (patch) | |
tree | 069a34670b1b91041ef9f3fcb73192dd05c60963 /themes/LoveIt/layouts/partials/rss/item.html | |
parent | 038eabdda56dbfdbbba4328ac035cc4d77e8d80d (diff) |
use different theme that is a lot slimer
Diffstat (limited to 'themes/LoveIt/layouts/partials/rss/item.html')
-rw-r--r-- | themes/LoveIt/layouts/partials/rss/item.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/themes/LoveIt/layouts/partials/rss/item.html b/themes/LoveIt/layouts/partials/rss/item.html deleted file mode 100644 index 7af54d2..0000000 --- a/themes/LoveIt/layouts/partials/rss/item.html +++ /dev/null @@ -1,36 +0,0 @@ -{{- $params := .Page.Params | merge .Site.Params.Page | merge (dict "author" .Site.Author.name) -}} -<item> - <title> - {{- .Page.Title -}} - </title> - <link> - {{- .Page.Permalink -}} - </link> - <pubDate> - {{- .Page.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}} - </pubDate> - <author> - {{- $params.author | default (T "author") -}} - </author> - <guid> - {{- .Page.Permalink -}} - </guid> - <description> - {{- "<![CDATA[" | safeHTML -}} - {{- with $params.featuredimage -}} - <div class="featured-image"> - <img src="{{ . | relURL }}" referrerpolicy="no-referrer"> - </div> - {{- end -}} - {{- $content := .Page.Description -}} - {{- if $params.rssFullText -}} - {{- $content = dict "Content" .Page.Content "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" -}} - {{- else -}} - {{- with .Page.Summary -}} - {{- $content = dict "Content" . "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" -}} - {{- end -}} - {{- end -}} - {{- $content | replaceRE `<figure[^>]*>.*</figure>` "" | replaceRE `<img[^>]*( /)?>` "" | safeHTML -}} - {{- "]]>" | safeHTML -}} - </description> -</item> |