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 %} {% endif %}
</a> </a>
</p> </p>
<time>{{ content.date | formatDate }}</time> <p>{{ content.date | formatDate }}</p>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@ -1,7 +1,7 @@
{% extends "global/footer.njk" %} {% extends "global/footer.njk" %}
{% block footerContent %} {% 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 %} {% set currentUrl %}{{ page.url }}{% endset %}
<ul class="footer__links"> <ul class="footer__links">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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