hugo-theme-readable

Fork of https://github.com/cjtheham/hugo-theme-readable
git clone https://git.eamoncaddigan.net/hugo-theme-readable.git
Log | Files | Refs | README | LICENSE

commit 4108b8dec3f279271910d90bff120e95f20b5a72
parent 18847fc3a3e4efe11663ff0ef180dbbd8e6e3665
Author: cjtheham <cjtheham@protonmail.com>
Date:   Tue, 14 Feb 2023 16:38:42 -0600

fix: add meta description

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 @@ -2,6 +2,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- This ensures your site looks right on mobile devices --> <link rel="stylesheet" type="text/css" href="/css/readable.css?v=1.0.0"> + <meta name="description" content='{{ .Page.Description }}'> {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} <title>{{ $title }}</title>