hugo-theme-mofo

Minimal theme for Hugo
git clone https://git.bracken.jp/hugo-theme-mofo.git
Log | Files | Refs | LICENSE

commit ee69aa1448e17ed955ef8aa850cb69904936e3f2
parent 69de2cf654c5f0e3fa4429f961730f1cfc7d11f0
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun,  9 Feb 2025 08:16:07 -0800

If Author.fediverse is set, add link

Diffstat:
Mlayouts/partials/head.html | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/layouts/partials/head.html b/layouts/partials/head.html @@ -20,6 +20,7 @@ <link rel="manifest" href="{{ "favicon/site.webmanifest" | relURL }}"> <link rel="mask-icon" href="{{ "favicon/safari-pinned-tab.svg" | relURL }}" color="#140f42"> <link rel="shortcut icon" href="{{ "favicon/favicon.ico" | relURL }}"> +{{ with .Site.Params.Author.fediverse }}<link rel="me" href="{{.}}"/>{{ end }} <meta name="msapplication-TileColor" content="#603cba"> <meta name="msapplication-config" content="{{ "favicon/browserconfig.xml" | relURL }}"> <meta name="theme-color" content="#ffffff">