From 004951148db0377c11d45179066ec182aae321a5 Mon Sep 17 00:00:00 2001
From: Paul Duncan <pabs@pablotron.org>
Date: Tue, 19 Oct 2021 02:37:22 -0400
Subject: add <meta name="description" ...> to header

---
 themes/hugo-pt2021/layouts/partials/head.html | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'themes')

diff --git a/themes/hugo-pt2021/layouts/partials/head.html b/themes/hugo-pt2021/layouts/partials/head.html
index 56468e4..09da4ff 100644
--- a/themes/hugo-pt2021/layouts/partials/head.html
+++ b/themes/hugo-pt2021/layouts/partials/head.html
@@ -4,6 +4,12 @@
   {{/* set responsive viewport */}}
   <meta name='viewport' content='width=device-width, initial-scale=1'/>
 
+  {{/* add site description */}}
+  <meta
+    name='description'
+    content='{{- default "" .Site.Params.description -}}'
+  />
+
   <title>
     {{- block "title" . -}}
       {{- .Page.Title -}}
-- 
cgit v1.2.3