Make history nav into a column, add link to search

This commit is contained in:
Matthias Portzel 2022-05-17 07:44:48 -07:00
parent 9306248902
commit 7ad6f21f66
2 changed files with 6 additions and 7 deletions

View File

@ -251,17 +251,14 @@ h1 {
}
.history-nav li {
display: inline;
line-height: 1.3;
}
.history-nav li:not(:first-child)::before {
content: "";
.history-nav li::before {
content: "";
}
.history-nav li:not(:first-child) > * {
.history-nav li > * {
margin-left: 10px;
}
.history-nav li:not(:last-child) > * {
margin-right: 5px;
}
.history-nav .current-page {
font-weight: bold;
}

View File

@ -32,6 +32,7 @@
<li><a href="?page={{ page.slug }}">{{ page.formatted_name }}</a></li>
{% endif %}
{% endfor %}
<li><a href="/search">Search</a></li>
</ul>
</nav>
{% endif %}
@ -102,6 +103,7 @@
<li><a href="?page={{ page.slug }}">{{ page.formatted_name }}</a></li>
{% endif %}
{% endfor %}
<li><a href="/search">Search</a></li>
</ul>
</nav>
{% endblock %}