commit 61e726eb03c779ec10893a2600441668c7f6169a
parent 8d8f2375d85d8aca3bffd264fe216ff1a593202d
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date:   Sat, 13 Mar 2021 14:00:20 +0100

Remove links from post dates

Diffstat:
Mlayouts/item.html | 2+-
Mlayouts/post.html | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/layouts/item.html b/layouts/item.html @@ -1,7 +1,7 @@ <article class="summary h-entry"> <header> <h2><a class="u-url p-name" href="/{{ url }}">{{ title }}</a></h2> - <p class="metadata">{{ categories_html }} &middot; <a href="/{{ url }}"><time class="dt-published" datetime="{{ date }}">{{ date_nice }}</time></a> &middot; {{ read_time }}</p> + <p class="metadata">{{ categories_html }} &middot; <time class="dt-published" datetime="{{ date }}">{{ date_nice }}</time> &middot; {{ read_time }}</p> </header> <p class="p-summary">{{ summary }} <a href="/{{ url }}" aria-label="Read post {{ title }}">Read more</a></p> </article> diff --git a/layouts/post.html b/layouts/post.html @@ -2,7 +2,7 @@ <article class="h-entry"> <header> <h1 class="p-name">{{ title }}</h1> - <div class="metadata">{{ categories_html }} &middot; <a class="u-url" href="/{{ url }}"><time class="dt-published" datetime="{{ date }}">{{ date_nice }}</time></a>{{ _if modified }} (last modified on <time class="dt-updated" datetime="{{ lastmod }}">{{ lastmod_nice }}</time>){{ _fi }} + <div class="metadata">{{ categories_html }} &middot; <time class="dt-published" datetime="{{ date }}">{{ date_nice }}</time>{{ _if modified }} (last modified on <time class="dt-updated" datetime="{{ lastmod }}">{{ lastmod_nice }}</time>){{ _fi }} </div> </header> <div class="content e-content">{{ content }}</div> @@ -10,6 +10,7 @@ <a rel="me" class="p-name u-url" href="https://oscarbenedito.com">Oscar Benedito</a> <img class="u-photo" src="/{{ _asset_img/favicon.min.svg }}" alt=""/> </div> + <a class="u-url" href="/{{ url }}" style="display: none;"></a> </article> {{ _if more_pages }}<nav class="pagination">{{ _fi }}