fix blog date spacing, posted by human

This commit is contained in:
Pascal Engélibert 2025-12-20 08:04:08 +01:00
commit e9460c86fe
3 changed files with 6 additions and 2 deletions

View file

@ -27,6 +27,7 @@ langs_label = "Language"
header_blog = "Blog"
header_links = "Links"
header_reads = "Reads"
blog_published_on_date = "Posted by a human on"
[extra.tr.eo]
sitename = "txmn.tk"
@ -34,6 +35,7 @@ langs_label = "Lingvo"
header_blog = "Blogo"
header_links = "Ligiloj"
header_reads = "Legaĵoj"
blog_published_on_date = "Publikiĝita home je la"
[extra.tr.fr]
sitename = "txmn.tk"
@ -41,6 +43,7 @@ langs_label = "Langue"
header_blog = "Blog"
header_links = "Liens"
header_reads = "Lectures"
blog_published_on_date = "Publié par un humain le"
[languages.en]
generate_feeds = true

View file

@ -2,7 +2,7 @@
@use "_consts" as c;
h1 {
margin: 16px 0 0 0;
margin: 16px 0 16px 0;
text-align: center;
//width: fit-content;
//padding: 0 1em;
@ -30,6 +30,7 @@ h1:before, h1:after {
h1 span {
max-width: 640px;
text-wrap: balance;
}
h2 {

View file

@ -53,7 +53,7 @@
{% block main %}
<h1><span>{{page.title | safe}}</span></h1>
<small class="article-date">{{page.date}}</small><br/>
<small class="article-date">{{ tr.blog_published_on_date }} {{page.date}}.</small><br/>
<small class="article-tags">{% for tag in page.taxonomies.tags %}<a href="/{{macros::langurl()}}tags/{{tag}}">{{tag}}</a>{% if not loop.last %}, {% endif %}{% endfor %}</small>
{% if page.toc %}