pub / newsplanet

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

commit 40125a40e60ae13167178350dd85fdb73845ec40
parent d703f95812e0c04d4ee8f089e972a6ec49be3f52
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Fri, 31 May 2024 22:34:25 +0200

cleanup template

Diffstat:
Mtemplate.html | 13+++++--------
1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/template.html b/template.html @@ -3,12 +3,12 @@ --> <!DOCTYPE html> -<html lang="en"> +<html> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <!-- Title may be filled in by script --> <title>[% feed.title %]</title> + <meta name="description" content="[% feed.description %]" /> <link rel="icon" type="image/png" href="assets/favicon.png"> <link rel="icon" type="image/png" sizes="16x16" href="assets/favicon_16.png"> <link rel="icon" type="image/png" sizes="32x32" href="assets/favicon_32.png"> @@ -22,7 +22,6 @@ * { scroll-behavior: smooth; } img { display: none; } br { display: none; } - /*img, iframe { height: auto; width: 100%; margin-top: 1em; margin-bottom: 1em; border: 0; }*/ a[href^="https"]::after { content: "\2197"; } @@ -55,7 +54,6 @@ <main class="main"> <h1>[% feed.title | html %]</h1> - <p>[% feed.description | html %]</p> <!-- This is updated by find-and-replace --> <p style="margin-bottom:2em;"><!--UPDATED--></p> @@ -70,10 +68,9 @@ [% entry.content.body %] [% END %] </p> - [% IF entry.author OR entry.issued %] - <p style="margin-top:1em;"> - Published - [% IF entry.issued %] on <strong>[% entry.issued | html %]</strong>[% END %] + [% IF entry.issued %] + <p class="button" style="margin-top:1em;"> + [% entry.issued | html %] </p> [% END %] </article>