theme updates

This commit is contained in:
2026-07-04 01:22:01 -07:00
parent 2f4fceadad
commit 6e8907ebf6
9 changed files with 288 additions and 82 deletions
+8 -1
View File
@@ -1,3 +1,10 @@
<footer class="site-footer container">
<p class="site-footer__copy">&copy; {{ now.Year }} {{ .Site.Params.author }}</p>
<div class="site-footer__inner">
<p class="site-footer__tagline">{{ .Site.Params.tagline }}</p>
<nav class="site-footer__nav" aria-label="Footer">
<a class="site-footer__link" href="{{ "/posts/" | relURL }}">Posts</a>
<a class="site-footer__link" href="{{ "/about/" | relURL }}">About</a>
</nav>
<p class="site-footer__copy">&copy; {{ now.Year }} {{ .Site.Params.author }}</p>
</div>
</footer>
+11 -1
View File
@@ -1,3 +1,13 @@
<header class="site-header container">
<span class="site-header__logo">{{ .Site.Params.logo }}</span>
<a class="site-header__logo" href="{{ "/" | relURL }}">
{{ with .Site.Params.logo_image }}
<img class="site-header__logo-image" src="{{ . | relURL }}" alt="{{ $.Site.Params.logo | default $.Site.Title }}">
{{ else }}
{{ $.Site.Params.logo }}
{{ end }}
</a>
<nav class="site-nav" aria-label="Main">
<a class="site-nav__link{{ if eq .Section "posts" }} site-nav__link--active{{ end }}" href="{{ "/posts/" | relURL }}">Posts</a>
<a class="site-nav__link{{ if and .IsPage (eq .File.BaseFileName "about") }} site-nav__link--active{{ end }}" href="{{ "/about/" | relURL }}">About</a>
</nav>
</header>