Fix post list html

pull/1/head
mat ess 2022-08-14 12:06:03 -04:00
parent bf3bfd616d
commit 55b4c0c02e
2 changed files with 10 additions and 5 deletions

View File

@ -183,3 +183,8 @@ ul.tags {
time {
color: var(--text-1);
}
// Post list
li.post-list-item {
list-style-type: none;
}

View File

@ -5,10 +5,10 @@
{% continue %}
{% endif -%}
<section class="list-item">
<h1 class="title">
<li class="post-list-item">
<h2 class="title">
<a href={{ page.permalink }}>{{page.title}}</a>
</h1>
</h2>
<div class="meta">
posted on <time>{{ page.date | date(format="%Y-%m-%d") }}</time>
@ -30,7 +30,7 @@
{% if not hide_read_more %}
<a class="readmore" href={{ page.permalink }}>Read more ⟶</a>
{% endif %}
</section>
</li>
{% endfor -%}
</ul>
@ -89,7 +89,7 @@
{# Optional table of contents #}
{% if config.extra.toc | default(value=false) %}
{% if page.toc %}
<h1>Table of Contents</h1>
<h2>Table of Contents</h2>
<ul>
{% for h1 in page.toc %}
<li>