Add RSS feed button

main
Abner Coimbre 2025-11-03 14:25:13 -08:00
parent 9e53e36a6f
commit dba00cd816
2 changed files with 14 additions and 4 deletions

View File

@ -14,9 +14,9 @@ newsletter_signup:
button_class: "btn text-white meetups-bg col-3"
section_class: ""
text_sidepanel:
active: true
title: ""
title_class: ""
active: false
title: "RSS Feed"
title_class: "mb-6"
text_class: ""
text: "[RSS](/news/index.xml)"
text: "[Subscribe](/news/index.xml)"
---

View File

@ -1,5 +1,15 @@
{{ define "main" }}
{{ partial "page-header-rss" . }}
<div class="mb-6 text-center">
<a href="{{ "/news/index.xml" | relURL }}" class="btn flex items-center gap-2 justify-center" aria-label="Subscribe to Handmade Cities News RSS">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false">
<path d="M4 11a1 1 0 100 2c5.523 0 10 4.477 10 10a1 1 0 102 0c0-6.627-5.373-12-12-12z"/>
<path d="M4 4a1 1 0 100 2c8.284 0 15 6.716 15 15a1 1 0 102 0C23 11.85 12.15 1 4 1a1 1 0 100 3z"/>
<circle cx="5" cy="19" r="2"/>
</svg>
<span>RSS</span>
</a>
</div>
<section class="section">
<div class="container">