Remove unneeded <time> HTML tag

This commit is contained in:
Helen Chong 2024-06-23 16:38:23 +08:00
parent 11a20ca55d
commit 0bfb006f65
8 changed files with 11 additions and 11 deletions

View File

@ -9,7 +9,7 @@
{% endif %}
</a>
</p>
<time>{{ content.date | formatDate }}</time>
<p>{{ content.date | formatDate }}</p>
</li>
{% endfor %}
</ul>

View File

@ -1,7 +1,7 @@
{% extends "global/footer.njk" %}
{% block footerContent %}
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} since <time>11 September 2022</time></p>
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} since 11 September 2022</p>
{% set currentUrl %}{{ page.url }}{% endset %}
<ul class="footer__links">

View File

@ -20,7 +20,7 @@ eleventyNavigation:
{% endif %}
</a>
</h2>
<time>{{ post.date | formatDate }}</time>
<p>{{ post.date | formatDate }}</p>
</li>
{% endfor %}
</ul>

View File

@ -12,7 +12,7 @@ Articles I have written.
{%- for article in collections["my articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | formatDate }}</time>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
</ul>
@ -27,7 +27,7 @@ Articles featuring other people's interview with me.
{%- for article in collections["featured articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | formatDate }}</time>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
</ul>

View File

@ -34,7 +34,7 @@ eleventyComputed:
{% endif %}
</a>
</h2>
<time>{{ post.date | formatDate }}</time>
<p>{{ post.date | formatDate }}</p>
<p>{{ post.data.desc }}</p>
</li>
{% endfor %}

View File

@ -17,7 +17,7 @@ eleventyNavigation:
{%- for article in collections["cassette beasts articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | formatDate }}</time>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
</ul>

View File

@ -17,7 +17,7 @@ eleventyNavigation:
{%- for article in collections["kotor both articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | formatDate }}</time>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
</ul>
@ -27,7 +27,7 @@ eleventyNavigation:
{%- for article in collections["kotor 1 articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | formatDate }}</time>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
</ul>
@ -37,7 +37,7 @@ eleventyNavigation:
{%- for article in collections["kotor 2 articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | formatDate }}</time>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
</ul>

View File

@ -17,7 +17,7 @@ eleventyNavigation:
{%- for article in collections["kotor guides"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<time>{{ article.date | formatDate }}</time>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
</ul>