diff options
author | Rafed Muhammad Yasir <rafed123@yahoo.com> | 2020-05-22 10:26:02 +0300 |
---|---|---|
committer | Rafed Muhammad Yasir <rafed123@yahoo.com> | 2020-05-22 10:26:02 +0300 |
commit | 040f9f6fe7b701cfdffba8fb6bd6a588e780af38 (patch) | |
tree | 1354b246bb7c78faf196947d99975e8b7be6b978 | |
parent | a39c1298f8f848cd3266db210e039aa1ec7ec1b2 (diff) |
Meta for home page
-rw-r--r-- | layouts/partials/meta.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index da2df44..90c9bc9 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -1,4 +1,7 @@ -{{ if eq .Kind "taxonomy" }} +{{ if .IsHome }} +<meta name="description" content="{{ .Site.Params.Description }}"> + +{{ else if eq .Kind "taxonomy" }} <meta name="description" content="List of all articles related to {{ .Title }}"> {{ else if eq .Kind "taxonomyTerm" }} |