Fix: rss feed

This commit is contained in:
hyzen
2026-06-21 03:13:24 +05:30
parent 88b1fef9f8
commit 922c89e504
2 changed files with 4 additions and 10 deletions

View File

@@ -37,12 +37,4 @@ share.freedoms4.org↗
<li>Politics.</li>
</ul>
<p>Education as a concept/implementation/system is good.
Academics is good only as a concept. It&amp;rsquo;s implementation and system is always the worst and corrupted.&lt;/p&gt;</description></item><item><title>Coming Soon</title><link>https://freedoms4.org/coming-soon/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>your-email@example.com (Freedoms4)</author><guid>https://freedoms4.org/coming-soon/</guid><description>&lt;p&gt;This feature is not yet available. Check back later!&lt;/p&gt;</description></item><item><title>Contact</title><link>https://freedoms4.org/contact/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>your-email@example.com (Freedoms4)</author><guid>https://freedoms4.org/contact/</guid><description>&lt;p&gt;&lt;strong&gt;Admin:&lt;/strong&gt; hyzen&lt;/p&gt;
&lt;h2 class="heading" id="contacts"&gt;
Contacts&lt;span class="heading__anchor"&gt; &lt;a href="#contacts"&gt;#&lt;/a&gt;&lt;/span&gt;
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="mailto:hyzen@freedoms4.org"&gt;Email&lt;/a&gt; and &lt;a href="xmpp:hyzen@freedoms4.org"&gt;XMPP&lt;/a&gt;:&lt;/strong&gt; &lt;a href="mailto:hyzen@freedoms4.org"&gt;hyzen@freedoms4.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;IRC/Liberachat:&lt;/strong&gt; hyzen, #freedoms4&lt;/p&gt;
&lt;h2 class="heading" id="follow-on"&gt;
Follow on&lt;span class="heading__anchor"&gt; &lt;a href="#follow-on"&gt;#&lt;/a&gt;&lt;/span&gt;
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://mastodon.social/@hyzen"&gt;Mastodon&lt;/a&gt;:&lt;/strong&gt; &lt;a href="mailto:hyzen@mastodon.social"&gt;hyzen@mastodon.social&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Lemmy:&lt;/strong&gt; &lt;a href="mailto:hyzen@lemmy.today"&gt;hyzen@lemmy.today&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>
Academics is good only as a concept. It&amp;rsquo;s implementation and system is always the worst and corrupted.&lt;/p&gt;</description></item></channel></rss>

View File

@@ -38,11 +38,13 @@
{{- else }}
{{- $pages = $pctx.Pages }}
{{- end }}
{{- /* Exclude uninotes pages, admin, login, and signup from the feed */}}
{{- /* Exclude uninotes pages, admin, login, signup, contact, and coming-soon from the feed */}}
{{- $pages = where $pages "Section" "ne" "uninotes" }}
{{- $pages = where $pages "RelPermalink" "ne" "/admin/" }}
{{- $pages = where $pages "RelPermalink" "ne" "/login/" }}
{{- $pages = where $pages "RelPermalink" "ne" "/signup/" }}
{{- $pages = where $pages "RelPermalink" "ne" "/contact/" }}
{{- $pages = where $pages "RelPermalink" "ne" "/coming-soon/" }}
{{- $limit := .Site.Config.Services.RSS.Limit }}
{{- if ge $limit 1 }}
{{- $pages = $pages | first $limit }}