feat: redesign site header — accent bar, DM Serif title, sticky, active nav
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
</head>
|
||||
<body class="{% if page.template == 'map' %}map-page{% endif %}">
|
||||
<header class="site-header">
|
||||
<a class="site-title" href="{{ base_url_absolute }}">{{ site.title }}</a>
|
||||
<nav class="site-nav">
|
||||
<a href="{{ base_url_absolute }}/tracker">Journal</a>
|
||||
<a href="{{ base_url_absolute }}/map">Map</a>
|
||||
<a href="{{ base_url_absolute }}/stats">Stats</a>
|
||||
<a class="site-title" href="{{ base_url_absolute }}">into the east</a>
|
||||
<nav class="site-nav" aria-label="Main navigation">
|
||||
<a href="{{ base_url_absolute }}/tracker"{% if page.url starts with '/tracker' or page.template == 'entry' %} aria-current="page"{% endif %}>Journal</a>
|
||||
<a href="{{ base_url_absolute }}/map"{% if page.url starts with '/map' %} aria-current="page"{% endif %}>Map</a>
|
||||
<a href="{{ base_url_absolute }}/stats"{% if page.url starts with '/stats' %} aria-current="page"{% endif %}>Stats</a>
|
||||
</nav>
|
||||
</header>
|
||||
<main class="site-main">
|
||||
|
||||
Reference in New Issue
Block a user