on master help sign in
Updates: Add "go to older updates"
commit6ef52cb7ed86b6f94dbea9e2db178f23aef1b1a0 authorMatilde Park <matilde@tlon.io> dateMon 9 Sep 2019, 14:24 (7 years ago) parentc1f823d
1 file changed+3−3
templates/updates/list.html+3−3
templates/updates/list.html+3−3
@@ -15,8 +15,8 @@
1515 <main class="mt6 mb6 full c4-10-lg">
1616 {% set posts = get_section(path="updates/_index.md") %}
1717 {% for page in posts.pages | slice (end=1) %}
18− <article class="mb6">
19− <h1>{{ page.title }}</h1>
18+ <article class="mb6 relative">
19+ <h1>{{ page.title }} <a class="absolute right0 fw-regular" href="#more-updates">Go to older updates</a></h1>
2020 <!-- body -->
2121 {{ page.content | safe }}
2222 {% if page.extra.author %}
@@ -30,7 +30,7 @@
3030 {% endif %}
3131 </article>
3232 {% endfor %}
33− <h2 class="mt10 mb6">More Updates</h2>
33+ <h2 id="more-updates" class="mt10 mb6">More Updates</h2>
3434 <ul class="posts">
3535 {% for page in posts.pages | slice (start=1) %}
3636 <li class="mb6 mt6">