mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-01 23:32:15 +00:00
redesign site as "case file" theme
- new paper/ink palette with single red accent, replacing catppuccin - self-hosted IBM Plex Serif (display) + Source Serif 4 (body), drop Outfit - rebuilt homepage masthead, numbered post index, navbar with active states - switch syntax highlighting + utterances to gruvbox, synced via postMessage - remove terminal/404 easter egg chrome, clean up remaining inline styles - fix stray syntax.css link causing a 404
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<header class="site-header">
|
||||
<nav class="nav-container">
|
||||
<a href="{{ get_url(path="") }}" class="brand-link">
|
||||
<span class="brand-text">{{ config.title | default(value="pwna4profit") }}</span>
|
||||
<span class="brand-text">{{ config.title }}</span>
|
||||
</a>
|
||||
|
||||
<div class="nav-right">
|
||||
@@ -9,7 +9,9 @@
|
||||
<div id="nav-links" class="nav-links">
|
||||
{% if config.extra.menu %}
|
||||
{% for item in config.extra.menu %}
|
||||
<a href="{{ get_url(path=item.url) }}" class="nav-item">{{ item.name }}</a>
|
||||
{% set current = current_path | default(value="") %}
|
||||
{% set is_active = item.match and current is starting_with(item.match) %}
|
||||
<a href="{{ get_url(path=item.url) }}" class="nav-item{% if is_active %} is-active{% endif %}"{% if is_active %} aria-current="page"{% endif %}>{{ item.name }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user