1
0
mirror of https://github.com/privacyguides/blog.privacyguides.org.git synced 2025-07-23 11:51:22 +00:00

Social card updates

This commit is contained in:
2023-05-30 19:31:09 -05:00
parent d64d8a96e6
commit eb8212b4e9
13 changed files with 488 additions and 42 deletions

View File

@@ -77,7 +77,7 @@
<div class="md-nav__link">
{% include ".icons/material/calendar-edit.svg" %}
<time datetime="{{ page.meta.updated }}" class="md-ellipsis" title="Date Updated" itemprop="dateModified">
{{- page.meta.updated.strftime('%B %d, %Y') -}}
{{- page.meta.updated.strftime('%B %-d, %Y') -}}
</time>
</div>
</li>
@@ -185,6 +185,10 @@
<!-- Actions -->
{% include "partials/actions.html" %}
{% if page.meta and page.meta.cover %}
<img class="cover" src="/{{ page.meta.cover }}">
{% endif %}
<!--
Hack: check whether the content contains a h1 headline. If it doesn't, the
page title (or respectively site name) is used as the main headline.