Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rafed/ramium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafed Muhammad Yasir <rafed123@yahoo.com>2020-05-22 10:26:02 +0300
committerRafed Muhammad Yasir <rafed123@yahoo.com>2020-05-22 10:26:02 +0300
commit040f9f6fe7b701cfdffba8fb6bd6a588e780af38 (patch)
tree1354b246bb7c78faf196947d99975e8b7be6b978
parenta39c1298f8f848cd3266db210e039aa1ec7ec1b2 (diff)
Meta for home page
-rw-r--r--layouts/partials/meta.html5
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" }}