add metatags and seo

This commit is contained in:
Robert Austin 2019-02-18 09:58:43 +10:00
parent 829e36b5cb
commit 475416a88f
5 changed files with 6160 additions and 3 deletions

View file

@ -8,7 +8,6 @@ pygmentsCodeFences = true
pygmentsCodefencesGuessSyntax = true pygmentsCodefencesGuessSyntax = true
pygmentsUseClasses = true pygmentsUseClasses = true
# Global menu section
[[menu.main]] [[menu.main]]
name = "Home" name = "Home"
url = "/" url = "/"
@ -18,3 +17,17 @@ pygmentsUseClasses = true
name = "Docs" name = "Docs"
url = "/docs/" url = "/docs/"
weight = 2 weight = 2
[params]
google_analytics_id=""
[params.homepage_meta_tags]
meta_description = "Hugo Whisper is a documentation theme built with Hugo. The design and functionality is intentionally minimal."
meta_og_title = "Hugo Whisper Theme"
meta_og_type = "website"
meta_og_url = "https://hugo-whisper.netlify.com"
meta_og_image = "https://raw.githubusercontent.com/JugglerX/hugo-whisper-theme/master/images/tn.png"
meta_og_description = "Hugo Whisper is a documentation theme built with Hugo. The design and functionality is intentionally minimal."
meta_twitter_card = "summary"
meta_twitter_site = "@zerostaticio"
meta_twitter_creator = "@zerostaticio"

View file

@ -0,0 +1 @@
{"Target":"css/style.css","MediaType":"text/css","Data":{}}

BIN
exampleSite/static/favicon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 957 B

View file

@ -1,4 +1,4 @@
{{ define "title" }}Hugo Hero Theme Demo{{ end}} {{ define "title" }}Hugo Whisper Theme Demo{{ end}}
{{ define "header_css" }}{{ end }} {{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-home{{ end }} {{ define "body_classes" }}page-home{{ end }}
{{ define "header_classes" }}header-transparent{{ end }} {{ define "header_classes" }}header-transparent{{ end }}