1
Fork 0

add an arrow to jump to the top

This commit is contained in:
Jan-Erik Rediger 2025-03-11 15:51:04 +01:00
parent 23657a4629
commit 7f2b61fb1f
2 changed files with 11 additions and 2 deletions

View file

@ -48,8 +48,10 @@ data:
<table>
{% for year in years -%}
<tr>
<td>&nbsp;</td>
<td><h2>{{year}}</h2></td>
<td class="top">
<a href="#top">↑</a></td>
<td>
<h2 id="{{year}}">{{year}}</h2></td>
</tr>
{%- for post in collections.posts.pages %}

View file

@ -359,3 +359,10 @@ table, tr, td { border: none; }
pointer-events: none;
z-index: 1;
}
.top {
text-align: center;
}
.top a, .top a:visited {
text-decoration: none;
}