More archive page tweaks
This commit is contained in:
parent
2115ba49c9
commit
7e06d3060c
@ -7,16 +7,19 @@
|
||||
{% block content -%}
|
||||
|
||||
{% for year in years %}
|
||||
<ul class="archive-list">
|
||||
<div class="archive-list">
|
||||
{% for entry in posts_by_year[year] %}
|
||||
<li>
|
||||
<div class="archive-entry">
|
||||
<code><time datetime="{{ entry.date | iso_datetime }}">{{ entry.date | iso_date }}</time></code>
|
||||
<a href="{{ entry.permalink }}">
|
||||
{{ entry.title }}
|
||||
</a>
|
||||
</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% if not loop.last %}
|
||||
<hr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{%- endblock %}
|
||||
|
@ -116,7 +116,7 @@ table {
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 1px solid black;
|
||||
border: 1px solid var(--secondary-text-color);
|
||||
}
|
||||
|
||||
html {
|
||||
@ -376,11 +376,17 @@ footer {
|
||||
}
|
||||
|
||||
.archive-list {
|
||||
padding: 0;
|
||||
font-size: 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
font-size: 1.25rem;
|
||||
margin: 1rem 0;
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
.archive-entry {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: start;
|
||||
gap: 8px;
|
||||
|
||||
time {
|
||||
color: var(--secondary-text-color);
|
||||
|
@ -9,16 +9,19 @@
|
||||
<h1>Posts tagged ‘{{ tag_name }}’</h1>
|
||||
|
||||
{% for year in years %}
|
||||
<ul class="archive-list">
|
||||
<div class="archive-list">
|
||||
{% for entry in posts_by_year[year] %}
|
||||
<li>
|
||||
<div class="archive-entry">
|
||||
<code><time datetime="{{ entry.date | iso_datetime }}">{{ entry.date | iso_date }}</time></code>
|
||||
<a href="{{ entry.permalink }}">
|
||||
{{ entry.title }}
|
||||
</a>
|
||||
</li>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% if not loop.last %}
|
||||
<hr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{%- endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user