diff --git a/README.md b/README.md index b64b953..6ea41e1 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,6 @@ enableEmoji = true [Params] name = "chringel" description = "A privacy focused theme for Hugo" - keywords = ['some', 'key', 'words'] github_user = "chringel21" github_repo = "https://github.com/chringel21/chringel-hugo-theme" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2f918bd..2ebadc8 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -17,7 +17,6 @@ CanonifyURLs = true [Params] name = "chringel" description = "A privacy focused theme for Hugo" - keywords = ['some', 'key', 'words'] github_user = "chringel21" github_repo = "https://github.com/chringel21/chringel-hugo-theme" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f7915b8..9bf6277 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -22,31 +22,6 @@ content="{{ .Site.Params.Description | safeHTML }}" /> {{- end -}} - {{- if .Keywords -}} - {{ $length := len .Keywords | add -1 -}} - - {{- else if .Params.Tags -}} - {{ $length := len .Params.Tags | add -1 -}} - - {{ else if .Site.Params.keywords }} - {{ $length := len .Site.Params.keywords | add -1 -}} - - {{- end -}} {{- if .Params.Author -}} {{ end -}}