Remove custom page title

This commit is contained in:
Helen Chong 2024-04-17 20:24:52 +08:00
parent f1c8debd9f
commit 225daacd36
1 changed files with 10 additions and 3 deletions

View File

@ -1,10 +1,17 @@
<aside class="right-sidebar">
<nav class="blog__nav">
<h2 class="blog__nav--title">Blog Navigation</h2>
<h2 class="blog__nav--title">Navigation</h2>
<ul class="blog__nav--links">
{% for page in collections["blog pages"] %}
<li><a href="{{ page.url }}">{{ page.data.blogNav }}</a></li>
<li><a href="{{ page.url }}">{{ page.data.blogNav or page.data.title }}</a></li>
{% endfor %}
</ul>
</nav>
</aside>
<style>
.blog__nav {
position: sticky;
top: 4rem;
}
</style>