diff options
author | zwbetz <zachary.w.betz@uscis.dhs.gov> | 2021-05-20 04:58:14 +0300 |
---|---|---|
committer | zwbetz <zachary.w.betz@uscis.dhs.gov> | 2021-05-20 04:58:14 +0300 |
commit | d632daf51331a466c1d1651a10090d414896e304 (patch) | |
tree | bcf1aef7dd59cabd44aad6def65c031fe278a9b9 | |
parent | 17a56c5951570bca6bd37f100e704731648ccae3 (diff) |
meta description
-rw-r--r-- | layouts/partials/head.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 45cdf20..118246b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,6 +3,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> {{ hugo.Generator }} + {{ $summary := trim (.Summary | plainify | htmlUnescape) "\n\r" + | default .Title }} + <meta name="description" content="{{ $summary }}"> <link rel="stylesheet" href="{{ "css/normalize.css" | absURL }}"> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'> {{ $caymanScss := "scss/cayman.scss" }} |