diff options
author | Rafed Muhammad Yasir <rafed123@yahoo.com> | 2020-05-22 10:25:37 +0300 |
---|---|---|
committer | Rafed Muhammad Yasir <rafed123@yahoo.com> | 2020-05-22 10:25:37 +0300 |
commit | 7ec8c57b8995399f8a33b891bacdc07d558039bd (patch) | |
tree | ce6507be1c0a503ffa2632a8e14bc514f935f73b | |
parent | 1ccf1b75e4f3598e72c42e2ea7c92fff1bbb1261 (diff) |
Meta for home page
-rw-r--r-- | themes/ramium/layouts/partials/meta.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/ramium/layouts/partials/meta.html b/themes/ramium/layouts/partials/meta.html index da2df44..90c9bc9 100644 --- a/themes/ramium/layouts/partials/meta.html +++ b/themes/ramium/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" }} |