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

gitlab.com/kskarthik/monopriv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthik <kskarthik@disroot.org>2020-02-22 12:50:45 +0300
committerKarthik <kskarthik@disroot.org>2020-02-22 12:50:45 +0300
commit6f8c2ae9bc924cb1b59e1057bb31d7013251fb00 (patch)
treefab9774025067ab7f5b47082b207d3273d92f349 /layouts/partials
parent0e942d633c6afe40e42619301ec978e5b783b2ee (diff)
update theme
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index e50fd55..a634e75 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,7 +1,14 @@
<head>
<meta charset="utf-8">
<meta name="description" content='{{ .Site.Params.metadesc }}'>
- <meta name="keywords" content='{{ .Site.Params.metakeys }}'>
+ {{if .IsHome}}
+ <meta name="keywords" content='{{ .Site.Params.metakeys }}'>
+ {{else}}
+ {{if eq .Section "post"}}
+ <meta name="keywords" content='{{ range .Params.tags}}{{.}}{{", "}}{{end}}'>
+ {{end}}
+ <!-- {{range .Params.tags}}{{.}}{{", "}}{{end}} -->
+ {{end}}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ hugo.Generator }}
<link rel="stylesheet" type="text/css" href='{{ "css/bootstrap.min.css" | absURL }}'>