mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-07-01 07:22:17 +02:00
Fix: rss feed
This commit is contained in:
@@ -66,4 +66,4 @@ Academics is good only as a concept. It’s implementation and system is
|
|||||||
<h2 class="heading" id="follow-on">
|
<h2 class="heading" id="follow-on">
|
||||||
Follow on<span class="heading__anchor"> <a href="#follow-on">#</a></span>
|
Follow on<span class="heading__anchor"> <a href="#follow-on">#</a></span>
|
||||||
</h2><p><strong><a href="https://mastodon.social/@hyzen">Mastodon</a>:</strong> <a href="mailto:hyzen@mastodon.social">hyzen@mastodon.social</a></p>
|
</h2><p><strong><a href="https://mastodon.social/@hyzen">Mastodon</a>:</strong> <a href="mailto:hyzen@mastodon.social">hyzen@mastodon.social</a></p>
|
||||||
<p><strong>Lemmy:</strong> <a href="mailto:hyzen@lemmy.today">hyzen@lemmy.today</a></p></description></item><item><title>Login</title><link>https://freedoms4.org/login/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>your-email@example.com (Freedoms4)</author><guid>https://freedoms4.org/login/</guid><description/></item><item><title>Sign Up</title><link>https://freedoms4.org/signup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>your-email@example.com (Freedoms4)</author><guid>https://freedoms4.org/signup/</guid><description/></item></channel></rss>
|
<p><strong>Lemmy:</strong> <a href="mailto:hyzen@lemmy.today">hyzen@lemmy.today</a></p></description></item></channel></rss>
|
||||||
@@ -38,9 +38,11 @@
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $pages = $pctx.Pages }}
|
{{- $pages = $pctx.Pages }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- /* Exclude uninotes pages and the admin page from the feed */}}
|
{{- /* Exclude uninotes pages, admin, login, and signup from the feed */}}
|
||||||
{{- $pages = where $pages "Section" "ne" "uninotes" }}
|
{{- $pages = where $pages "Section" "ne" "uninotes" }}
|
||||||
{{- $pages = where $pages "RelPermalink" "ne" "/admin/" }}
|
{{- $pages = where $pages "RelPermalink" "ne" "/admin/" }}
|
||||||
|
{{- $pages = where $pages "RelPermalink" "ne" "/login/" }}
|
||||||
|
{{- $pages = where $pages "RelPermalink" "ne" "/signup/" }}
|
||||||
{{- $limit := .Site.Config.Services.RSS.Limit }}
|
{{- $limit := .Site.Config.Services.RSS.Limit }}
|
||||||
{{- if ge $limit 1 }}
|
{{- if ge $limit 1 }}
|
||||||
{{- $pages = $pages | first $limit }}
|
{{- $pages = $pages | first $limit }}
|
||||||
|
|||||||
Reference in New Issue
Block a user