Get rid of microformats
This commit is contained in:
@@ -4,22 +4,22 @@ layout: layouts/base.njk
|
|||||||
<article class="post">
|
<article class="post">
|
||||||
<h1>{{ title | safe }}</h1>
|
<h1>{{ title | safe }}</h1>
|
||||||
{% if not hideMetadata %}
|
{% if not hideMetadata %}
|
||||||
<div class="post-metadata h-card">
|
<div class="post-metadata">
|
||||||
{% if author %}
|
{% if author %}
|
||||||
{% if author.profilePic %}
|
{% if author.profilePic %}
|
||||||
<img class="profilePic u-photo" src="{{ author.profilePic }}">
|
<img class="profilePic" src="{{ author.profilePic }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="post-metadata-copy">
|
<div class="post-metadata-copy">
|
||||||
<p>{% if author.url %}<a class="u-url" href="{{ author.url }}">{% endif %}
|
<p>{% if author.url %}<a href="{{ author.url }}">{% endif %}
|
||||||
{% if author.name %}By <span class="p-name">{{ author.name }}</span>{% endif %}{% if author.url %}</a> • {% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time> • {{ content | emojiReadTime }}</p>
|
{% if author.name %}By {{ author.name }}{% endif %}{% if author.url %}</a> • {% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time> • {{ content | emojiReadTime }}</p>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if metadata.author.profilePic %}
|
{% if metadata.author.profilePic %}
|
||||||
<img class="profilePic u-photo" src="{{ metadata.author.profilePic }}">
|
<img class="profilePic" src="{{ metadata.author.profilePic }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="post-metadata-copy">
|
<div class="post-metadata-copy">
|
||||||
<p>{% if metadata.author.url %}<a hclass="u-url" ref="{{ metadata.author.url }}">{% endif %}
|
<p>{% if metadata.author.url %}<a href="{{ metadata.author.url }}">{% endif %}
|
||||||
{% if metadata.author.name %}By <span class="p-name">{{ metadata.author.name }}</span>{% endif %}{% if metadata.author.url %}</a> • {% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time> • {{ content | emojiReadTime }}</p>
|
{% if metadata.author.name %}By {{ metadata.author.name }}{% endif %}{% if metadata.author.url %}</a> • {% endif %}<time datetime="{{ page.date | htmlDateString }}">{{ page.date | niceDate }}</time> • {{ content | emojiReadTime }}</p>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user