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:25:37 +0300
committerRafed Muhammad Yasir <rafed123@yahoo.com>2020-05-22 10:25:37 +0300
commit7ec8c57b8995399f8a33b891bacdc07d558039bd (patch)
treece6507be1c0a503ffa2632a8e14bc514f935f73b
parent1ccf1b75e4f3598e72c42e2ea7c92fff1bbb1261 (diff)
Meta for home page
-rw-r--r--themes/ramium/layouts/partials/meta.html5
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" }}