Provide RSS feed as file when pressing the button or typing the URL

This commit is contained in:
2024-04-03 21:05:12 +02:00
parent a3c53b1b20
commit 84fa828b38
3 changed files with 6 additions and 92 deletions

View File

@ -7,7 +7,7 @@
<div class="grid grid-cols-2 gap-x-4 gap-y-2">
<button class="btn" hx-get="/write-article" hx-target="#page-content">Artikel schreiben</button>
<button class="btn" hx-get="/rejected-articles" hx-target="#page-content">Abgelehnte Artikel</button>
<button class="btn" hx-get="/rss" hx-target="#page-content">RSS Feed</button>
<a class="btn text-center" href="/rss" download="download">RSS Feed</a>
<button class="btn" hx-get="/edit-user" hx-target="#page-content">Benutzer bearbeiten</button>
</div>
</div>