mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-21 07:28:50 +00:00
Add RSS feeds (#179)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<title>{{tag.Display}} - rimgo</title>
|
||||
|
||||
{{> partials/head }}
|
||||
<link href="/t/{{tag.Tag}}.rss" rel="alternate" title={{tag.Display}} type="application/rss+xml">
|
||||
</head>
|
||||
|
||||
<body class="font-sans text-lg bg-slate-800 text-white">
|
||||
@@ -16,7 +17,12 @@
|
||||
|
||||
<header class="p-4 rounded-xl text-white mb-4" style="background-image: url('{{tag.Background}}');">
|
||||
<div class="flex flex-col items-center justify-center text-center">
|
||||
<h2 class="text-2xl font-bold">{{tag.Display}}</h2>
|
||||
<div class="flex gap-2 items-center">
|
||||
<h2 class="text-2xl font-bold">{{tag.Display}}</h2>
|
||||
<a href="/t/{{tag.Tag}}.rss" label="RSS">
|
||||
<img src="/static/icons/PhRss.svg" width="24px" height="24px" class="invert" />
|
||||
</a>
|
||||
</div>
|
||||
<p>{{tag.PostCount}} posts</p>
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
@@ -37,7 +43,7 @@
|
||||
{{/equal}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<main>
|
||||
<div class="posts">
|
||||
{{#each tag.Posts}}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<title>Trending - rimgo</title>
|
||||
|
||||
{{> partials/head }}
|
||||
<link href="/trending.rss" rel="alternate" title="Trending" type="application/rss+xml">
|
||||
</head>
|
||||
|
||||
<body class="font-sans text-lg bg-slate-800 text-white">
|
||||
@@ -15,8 +16,11 @@
|
||||
</section>
|
||||
|
||||
<header class="p-4 rounded-xl text-white mb-4 bg-gradient-to-r from-blue-400 to-emerald-400">
|
||||
<div class="flex flex-col items-center justify-center text-center">
|
||||
<div class="flex items-center justify-center text-center gap-2">
|
||||
<h2 class="text-2xl font-extrabold">Trending</h2>
|
||||
<a href="/trending.rss" label="RSS">
|
||||
<img src="/static/icons/PhRss.svg" width="24px" height="24px" class="invert" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex flex-col sm:flex-row sm:justify-between">
|
||||
<div class="flex flex-col">
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<title>{{user.Username}} - rimgo</title>
|
||||
|
||||
{{> partials/head }}
|
||||
<link href="/user/{{user.Username}}.rss" rel="alternate" title={{user.Username}} type="application/rss+xml">
|
||||
</head>
|
||||
|
||||
<body class="font-sans text-lg bg-slate-800 text-white">
|
||||
@@ -23,6 +24,9 @@
|
||||
</div>
|
||||
<hr class="sm:border-0 flex-grow">
|
||||
<div class="flex flex-col items-center sm:items-end">
|
||||
<a href="/user/{{user.Username}}.rss" label="RSS">
|
||||
<img src="/static/icons/PhRss.svg" width="24px" height="24px" class="invert" />
|
||||
</a>
|
||||
<a href="/user/{{user.Username}}"><b>Submissions</b></a>
|
||||
<a href="/user/{{user.Username}}/favorites">Favorites</a>
|
||||
<a href="/user/{{user.Username}}/comments">Comments</a>
|
||||
|
||||
Reference in New Issue
Block a user