]> unremediatedgender.space Git - An_Algorithmic_Lucidity.git/commitdiff
remove `show_byline` switch
authorZack M. Davis <code@zackmdavis.net>
Tue, 8 Sep 2026 07:13:11 +0000 (00:13 -0700)
committerZack M. Davis <code@zackmdavis.net>
Tue, 8 Sep 2026 07:13:11 +0000 (00:13 -0700)
theme/templates/article.html
theme/templates/includes/post_card.html

index 3f8a889bf5b8a7c8c4a82e7e518f3a2fc5984c5b..a6b8e021a16556fa7702e785b7e747bd1b8e64b3 100644 (file)
@@ -8,5 +8,5 @@
 {% endblock %}
 
 {% block content %}
-    {{ post_card.render_post(article, show_source_link=True, show_byline=True) }}
+    {{ post_card.render_post(article, show_source_link=True) }}
 {% endblock %}
index b360e1631f19118f5d5cdb06c4016bada0be7fb6..2d4bbbb0ad0301eb73802e1c7baa12410db6bb75 100644 (file)
@@ -1,16 +1,10 @@
-{# Only article.html passes show_byline: on a single-author blog, repeating the
-   name down an index page is noise. Visible text rather than just the
-   <meta name="author"> in base.html, since extraction pipelines keep the
-   article and drop <head> -- a scraped or quoted post should carry attribution. #}
-{% macro render_post(article, full=True, show_source_link=False, show_byline=False) %}
+{% macro render_post(article, full=True, show_source_link=False) %}
 <article class="post">
     <h2 class="post-title">
         <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
     </h2>
     <div class="post-meta">
-        {% if show_byline %}
-            <span class="post-author">by {{ article.author }}</span> |
-        {% endif %}
+        <span class="post-author">by {{ article.author }}</span> |
         <time datetime="{{ article.date.isoformat() }}">{{ article.date.strftime('%-d %B %Y') }}</time>
         {% if article.category %}
             | <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>