Merge branch 'feature/meta-data' of pmpc/website into master
commit
da9c0beee6
|
@ -9,7 +9,12 @@ DefaultContentLanguage = "en"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
favicon = "favicon.ico"
|
favicon = "favicon.ico"
|
||||||
|
url = "http://pmpc.mehl.mx"
|
||||||
|
|
||||||
|
[params.sharemeta]
|
||||||
|
previewImage = "img/header.jpg"
|
||||||
|
fbPageID = "336939393138306"
|
||||||
|
twitterUser = "@fsfe"
|
||||||
|
|
||||||
# Navigation
|
# Navigation
|
||||||
[params.navigation]
|
[params.navigation]
|
||||||
|
|
|
@ -10,6 +10,25 @@
|
||||||
{{ range .Translations }}
|
{{ range .Translations }}
|
||||||
<link type="text/html" rel="alternate" hreflang="{{ .Lang }}" lang="{{ .Lang }}" href="{{ .RelPermalink }}" title="{{ .Site.Params.languageName }}">
|
<link type="text/html" rel="alternate" hreflang="{{ .Lang }}" lang="{{ .Lang }}" href="{{ .RelPermalink }}" title="{{ .Site.Params.languageName }}">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
{{ "<!-- Facebook meta-data -->" | safeHTML }}
|
||||||
|
<meta property="og:title" content="{{ .Site.Title }}"/>
|
||||||
|
<meta property="og:url" content="{{ .Site.Params.url }}{{ .RelPermalink }}"/>
|
||||||
|
<meta property="og:image" content="{{ .Site.Params.url }}/{{ .Site.Params.Sharemeta.previewImage }}"/>
|
||||||
|
<meta property="og:description" content="{{ .Site.Params.description }}"/>
|
||||||
|
<meta property="og:type" content="website"/>
|
||||||
|
<meta property="og:locale" content="{{ .Lang }}"/>
|
||||||
|
<meta property="fb:page_id" content="{{ .Site.Params.Sharemeta.fbPageID }}"/>
|
||||||
|
|
||||||
|
{{ "<!-- Twitter meta-data -->" | safeHTML }}
|
||||||
|
<meta name="twitter:title" content="{{ .Site.Title }}">
|
||||||
|
<meta name="twitter:url" content="{{ .Site.Params.url }}{{ .RelPermalink }}">
|
||||||
|
<meta name="twitter:image" content="{{ .Site.Params.url }}/{{ .Site.Params.Sharemeta.previewImage }}">
|
||||||
|
<meta name="twitter:description" content="{{ .Site.Params.description }}">
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:site" content="{{ .Site.Params.Sharemeta.twitterUser }}">
|
||||||
|
<meta name="twitter:creator" content="{{ .Site.Params.Sharemeta.twitterUser }}">
|
||||||
|
|
||||||
{{ "<!-- Favicon -->" | safeHTML }}
|
{{ "<!-- Favicon -->" | safeHTML }}
|
||||||
<link rel="shortcut icon" href="{{ .Site.Params.favicon | absURL }}">
|
<link rel="shortcut icon" href="{{ .Site.Params.favicon | absURL }}">
|
||||||
{{ "<!-- Bootstrap Core CSS -->" | safeHTML }}
|
{{ "<!-- Bootstrap Core CSS -->" | safeHTML }}
|
||||||
|
|
Loading…
Reference in New Issue