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 { time {
color: var(--text-1); color: var(--text-1);
} }
// Post list
li.post-list-item {
list-style-type: none;
}

View File

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