pub / newsplanet

Planet-Style Newsfeed generated with perlanet
git clone https://src.jayvii.de/pub/newsplanet.git
Home | Log | Files | Exports | Refs | README | RSS

commit cdb0628a6cd8e8d86cf1cb79004e3f187dd34123
parent 02cf3fe42ac6393e314f0142bccc83f699ec8139
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sun,  1 Dec 2024 12:54:22 +0100

fix: adjust HTML

Diffstat:
Mindex.html | 11++++++++---
Mtemplate.html | 34++++++++++++++++------------------
2 files changed, 24 insertions(+), 21 deletions(-)

diff --git a/index.html b/index.html @@ -71,10 +71,12 @@ <header> <nav> + <!-- Source Code --> + <a href="https://src.jayvii.de/pub/newsplanet/" target="_blank"> + Source + </a> <!-- Privacy Policy --> - <a - href="https://www.jayvii.de/privacy/#newsjayviide" - > + <a href="https://www.jayvii.de/privacy/#newsjayviide" target="_blank"> Privacy </a> </nav> @@ -84,6 +86,9 @@ <main> + <p>Planet-Style Newsfeed generated with perlanet.</p> + <p>Two feed categories are currently available:</p> + <div class="button-row"> <div style="margin-left:auto;margin-right:auto;"> <a href="./left.html" class="button">Left</a> diff --git a/template.html b/template.html @@ -74,24 +74,16 @@ <header> <nav> - <!-- "Links" --> - <a href="/left.html"> - Left - </a> - <!-- General News --> - <a href="/centre.html"> - Centre - </a> + <!-- "Overview" --> + <a href="/">Overview</a> + <!-- "Left" --> + <a href="/left.html">Left</a> + <!-- "Centre" --> + <a href="/centre.html">Centre</a> <!-- RSS Button --> - <a - href=<!--XML--> - > - RSS Feed - </a> + <a href=<!--XML-->>RSS</a> <!-- Privacy Policy --> - <a - href="https://www.jayvii.de/privacy/#newsjayviide" - > + <a href="https://www.jayvii.de/privacy/#newsjayviide" target="_blank"> Privacy </a> </nav> @@ -117,7 +109,9 @@ [% FOREACH entry IN feed.entries %] <section> <h2> - <a href="[% entry.link | url | html %]">[% entry.title | html %] &#8599;</a> + <a href="[% entry.link | url | html %]"> + [% entry.title | html %] &#8599; + </a> </h2> <div class="article_content"> [% IF entry.summary.body %] @@ -128,7 +122,11 @@ </div> <div class="button-row"> - <a class="button" href="[% entry.link | url | html %]" style="width:65px;"> + <a + class="button" + href="[% entry.link | url | html %]" + style="width:65px;" + > <!--IMG src="[% entry.link | url | html %]" alt="News Source">--> </a> [% IF entry.issued %]