commit 7148f25701934c6adca7fc2228b6e8114a1275db parent 70ea3789c3cf1981686f19ee1ff61e20ddf5e707 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sat, 29 Mar 2025 17:29:33 +0100 feat: move around information about news item Diffstat:
M | templates/index.tt | | | 24 | ++++++++++++------------ |
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/templates/index.tt b/templates/index.tt @@ -77,11 +77,22 @@ [% FOREACH entry IN feed.entries %] <section data="[% entry.issued | html %]"> <!-- Headline --> - <h3> + <h3 style="margin-bottom:5px;"> <a href="[% entry.link | url | html %]" target="_blank" rel="nofollow"> [% entry.title | html %] </a> </h3> + <!-- Information --> + <div style="width:100%;margin-bottom:1em;"> + <em style="margin-right:0.25em;color:var(--border);"> + <!--DOMAIN src="[% entry.link | url | html %]">--> + </em> + [% IF entry.issued %] + <em style="margin-left:0.25em;color:var(--border);"> + [% entry.issued | html %] + </em> + [% END %] + </div> <!-- Content --> <div class="article_content"> [% IF entry.summary.body %] @@ -90,17 +101,6 @@ <!--start-->[% entry.content.body %]<!--end--> [% END %] </div> - <!-- Information --> - <div style="width:100%;"> - <stretch style="margin-right:0.25em"> - <!--DOMAIN src="[% entry.link | url | html %]">--> - </stretch> - [% IF entry.issued %] - <stretch style="margin-left:0.25em;"> - [% entry.issued | html %] - </stretch> - [% END %] - </div> </section> [% END %]