diff options
author | Dominik Juelg <djuelg@gmx.de> | 2020-08-22 15:49:51 +0300 |
---|---|---|
committer | Dominik Juelg <djuelg@gmx.de> | 2020-08-22 15:51:22 +0300 |
commit | 7e7b8493bdc9c2d9ee479f819252a1147f24c55f (patch) | |
tree | 9c437ec172cfa3ca6aa497ea464457c2a8d44beb | |
parent | 109c62b043d61c77681926adf02e6c3f94fcbcd2 (diff) |
removed keywords
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | layouts/partials/head.html | 4 | ||||
-rw-r--r-- | sample-config.toml | 8 |
3 files changed, 6 insertions, 9 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 4424b9a..cecac78 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -39,5 +39,4 @@ googleAnalytics = "" button_3 = "about/" logo = "images/logo.png" - logo_start_screen_rotation = "19" - keywords = "hugo, blog, Shapez, SVG, design"
\ No newline at end of file + logo_start_screen_rotation = "19"
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5e71079..4b3921d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,12 +3,12 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> -<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }} - {{ if eq $isHomePage false }}{{ delimit .Keywords ", " }} - {{ .Site.Title }}{{ else }}{{ delimit .Site.Params.keywords ", " }}{{ end }}</title> +<title>{{ .Title }}</title> <meta name="author" content="{{ with .Site.Params.name }}{{ . }}{{ end }}"> <meta name="description" content="{{ $isHomePage := eq .Title .Site.Title }}{{ if eq $isHomePage false }}{{ .Description }} - {{ end }}{{ .Site.Params.description }}"> <meta name="keywords" content="{{ delimit .Keywords ", " }}"> -<meta property="og:title" content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }} - {{ if eq $isHomePage false }}{{ delimit .Keywords ", " }} - {{ .Site.Title }}{{ else }}{{ delimit .Site.Params.keywords ", " }}{{ end }}"> +<meta property="og:title" content="{{ .Title }}"> <meta property="og:description" content="{{ $isHomePage := eq .Title .Site.Title }}{{ if eq $isHomePage false }}{{ .Description }} - {{ end }}{{ .Site.Params.description }}"> {{ "<!-- Site Icon -->" | safeHTML }} diff --git a/sample-config.toml b/sample-config.toml index c8aa7c9..cecac78 100644 --- a/sample-config.toml +++ b/sample-config.toml @@ -3,13 +3,14 @@ baseurl = "http://0.0.0.0/" title = "Shapez Theme" -theme = "Shapez-Theme" +theme = "shapez" copyright = "Copyright (c) 2020, djuelg; all rights reserved." [author] name = "djuelg" languageCode = "en-US" MetaDataFormat = "toml" +paginate = 2 PaginatePath = "page" googleAnalytics = "" @@ -38,7 +39,4 @@ googleAnalytics = "" button_3 = "about/" logo = "images/logo.png" - logo_start_screen_rotation = "19" - # This is a workaround to the original paginate param, to apply x articles per page AND sort by date - paginate = 2 - keywords = "hugo, blog, Shapez, SVG, design"
\ No newline at end of file + logo_start_screen_rotation = "19"
\ No newline at end of file |