commit e15600ad0538a66ec631decc286ee00307049c2a parent 67f6179e66052ce9d666185614fc99545063c563 Author: FIGBERT <figbert@figbert.com> Date: Wed, 9 Sep 2020 17:40:38 -0700 :bug: Remove hidden metadata from article template Diffstat:
M | templates/article.html | | | 16 | +++++----------- |
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/templates/article.html b/templates/article.html @@ -54,17 +54,11 @@ {% block content %} <div class="h-entry"> - <div> - <a class="hidden u-url u-uid" href="{{ current_url }}" rel="me">FIGBERT</a> - <a class="hidden p-author h-card" href="{{ config.base_url }}">FIGBERT</a> - <h1 class="p-name">{{ page.title }}</h1> - <small><time class="dt-published" datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time></small> - {% if page.summary -%} - <p class="hidden p-summary">{{ page.summary | safe | striptags }}</p> - {% else %} - <p class="hidden p-summary">{{ page.content | safe | striptags | truncate(length=300) }}</p> - {%- endif %} - </div> + <h1 class="p-name"><a class="u-url u-uid" href="{{ current_url }}" rel="me">{{ page.title }}</a></h1> + <small> + <time class="dt-published" datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time> + by <a class="p-author h-card" href="{{ config.base_url }}">FIGBERT</a> + </small> <div class="e-content">{{ page.content | safe }}</div> </div> {% endblock content %}