From 0b482c3c61dd1a6555fbabab830b4906e239bdc4 Mon Sep 17 00:00:00 2001 From: yequari Date: Sun, 5 May 2024 21:19:08 -0700 Subject: [PATCH] parameterize head section --- config.yaml | 2 ++ themes/dreamcast/layouts/partials/head.html | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index 77c8fc0..1f9d7a6 100644 --- a/config.yaml +++ b/config.yaml @@ -4,6 +4,8 @@ title: yequari.com theme: dreamcast params: about: "I write code and occasionally blog posts." + webmentions: https://webmention.io/yequari.com/webmention + pingbacks: https://webmention.io/yequari.com/xmlrpc taxonomies: category: categories tag: tags diff --git a/themes/dreamcast/layouts/partials/head.html b/themes/dreamcast/layouts/partials/head.html index b5c04ba..99b03bb 100644 --- a/themes/dreamcast/layouts/partials/head.html +++ b/themes/dreamcast/layouts/partials/head.html @@ -2,13 +2,16 @@ - + + + + {{ .Page.Title }} - - + + {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}