publiccode.si/site/layouts/partials/head.html

62 lines
3.8 KiB
HTML
Raw Normal View History

{{ "<!-- Build time: " | safeHTML }}{{now}}{{ "-->" | safeHTML }}
2017-03-16 00:00:56 +01:00
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ with .Site.Params.static.meta.author }}<meta name="author" content="{{ . }}">{{ end }}
2017-03-16 00:00:56 +01:00
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
2017-09-20 15:48:00 +02:00
<meta name="keywords" content="Public Money, Public Code, #publiccode, campaign, Free Software, Open Source, FOSS, FLOSS, public administration, FOI, open letter, petition, PMPC">
2017-03-16 00:00:56 +01:00
{{ .Hugo.Generator }}
<title>{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}</title>
{{ "<!-- Translations -->" | safeHTML }}
<link type="text/html" rel="alternate" hreflang="{{ .Lang }}" lang="{{ .Lang }}" href="{{ .RelPermalink }}" title="{{ .Site.Params.languageName }}">
{{ range .Translations }}
<link type="text/html" rel="alternate" hreflang="{{ .Lang }}" lang="{{ .Lang }}" href="{{ .RelPermalink }}" title="{{ .Site.Params.languageName }}">
{{end}}
2017-05-21 21:36:05 +02:00
{{ "<!-- Open Graph meta-data (e.g. Facebook) -->" | safeHTML }}
2017-05-21 21:36:05 +02:00
<meta property="og:title" content="{{ .Site.Title }}"/>
<meta property="og:url" content="{{ .Site.Params.static.url }}{{ "/" | relLangURL }}"/>
<meta property="og:image" content="{{ .Site.Params.static.url }}/{{ .Site.Params.static.meta.previewImage }}"/>
2017-05-21 21:36:05 +02:00
<meta property="og:description" content="{{ .Site.Params.description }}"/>
<meta property="og:locale" content="{{ .Lang }}"/>
{{ range .Translations }}
<meta property="og:locale:alternate" content="{{.Lang }}"/>{{ end }}
2017-05-21 21:36:05 +02:00
{{ "<!-- Twitter meta-data -->" | safeHTML }}
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content="{{ .Site.Params.static.meta.twitterUser }}"/>
<meta name="twitter:title" content="{{ .Site.Title }}"/>
<meta name="twitter:description" content="{{ .Site.Params.description }}"/>
<meta name="twitter:image" content="{{ .Site.Params.static.url }}/{{ .Site.Params.static.meta.previewImage }}"/>
<meta name="twitter:url" content="{{ .Site.Params.static.url }}{{ "/" | relLangURL }}"/>
<meta name="twitter:creator" content="{{ .Site.Params.static.meta.twitterUser }}"/>
2017-05-21 21:36:05 +02:00
2017-03-16 00:00:56 +01:00
{{ "<!-- Favicon -->" | safeHTML }}
<link rel="icon" type="image/png" href="{{ "favicon.png" | absURL }}" sizes="128x128">
2017-03-16 00:00:56 +01:00
{{ "<!-- Bootstrap Core CSS -->" | safeHTML }}
<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | absURL }}" type="text/css">
{{ "<!-- Custom Fonts -->" | safeHTML }}
<link rel="stylesheet" href="{{ "css/fonts.css" | absURL }}" type="text/css">
2017-03-16 00:00:56 +01:00
<link rel="stylesheet" href="{{ "font-awesome/css/font-awesome.min.css" | absURL }}" type="text/css">
{{ "<!-- Plugin CSS -->" | safeHTML }}
<link rel="stylesheet" href="{{ "css/animate.min.css" | absURL }}" type="text/css">
{{ "<!-- Custom CSS -->" | safeHTML }}
<link rel="stylesheet" href="{{ "css/creative.css" | absURL }}" type="text/css">
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}" type="text/css">
<link rel="stylesheet" href="{{ "css/buttons-spread.css" | absURL }}" type="text/css">
<link rel="stylesheet" href="{{ "css/buttons-side.css" | absURL }}" type="text/css">
{{ "<!-- CSS with JS disabled -->" | safeHTML }}
<noscript>
<link rel="stylesheet" href="{{ "css/no-javascript.css" | absURL }}" type="text/css">
</noscript>
2017-03-16 00:00:56 +01:00
<!-- Google webmaster tools verification -->
<meta name="google-site-verification" content="w3YbMtsGJlDG25xOStnBvqmoJ2s3GXPEy4ckJSvSISs" />
2017-03-16 00:00:56 +01:00
{{ "<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->" | safeHTML }}
{{ "<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->" | safeHTML }}
{{ "<!--[if lt IE 9]>" | safeHTML }}
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
{{ "<![endif]-->" | safeHTML }}