kern

White space theme for Hugo
Log | Files | Refs | LICENSE

commit e16f19efcfb15ee715456976ecf81cc6ea98e1d5
parent c44d45ee6efae21f104e36328c5bf49703a70889
Author: Chris Kiriakou <chris@kiriakou.net>
Date:   Tue, 24 Nov 2026 13:43:13 +0100

change header to use keywords instead of tags

Diffstat:
A.gitattributes | 5+++++
Massets/css/layouts.css | 5++++-
Mlayouts/_partials/head.html | 12++++++++----
3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/.gitattributes b/.gitattributes @@ -0,0 +1,5 @@ +*.png binary +*.jpg binary +*.ico binary +*.woff binary +*.woff2 binary diff --git a/assets/css/layouts.css b/assets/css/layouts.css @@ -84,9 +84,12 @@ .footer-column { display: flex; flex-direction: column; - gap: 0.25rem; } +.footer-column > * { padding: 0.25rem; } +footer .footer-column:first-of-type > * { padding-left: 0; } +footer .footer-column:last-of-type > * { padding-right: 0; } + .footer-column-title { font-weight: bold; } .footer-row:last-child > .footer-item:last-child { margin-left: auto; } diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html @@ -7,15 +7,19 @@ <meta name="color-scheme" content="light dark"> <meta name="author" content="{{ .Site.Params.author.email}} ({{ .Site.Params.author.name }})"> {{- with .Summary }} -<meta name="description" content="{{ . }}"> + <meta name="description" content="{{ . }}"> {{- end }} -{{- with .Params.tags }} -<meta name="keywords" content="{{ delimit . ", " }}"> +{{- with .Params.keywords }} + <meta name="keywords" content="{{ delimit . ", " }}"> {{- end }} <meta name="format-detection" content="telephone=no"> + <title>{{ .Title }} &vert; {{ site.Title }}</title> + {{ partialCached "head/css.html" . -}} + {{ with .OutputFormats.Get "rss" -}} -{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} + {{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} {{ end -}} + <link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" type="image/x-icon">