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

55 lines
3.3 KiB
HTML

{{ "<!-- Build time: " | safeHTML }}{{now}}{{ "-->" | safeHTML }}
<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.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ .Hugo.Generator }}
<title>{{ .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}}
{{ "<!-- 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 }}
<link rel="icon" type="image/png" href="{{ "favicon.png" | absURL }}" sizes="128x128">
{{ "<!-- 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">
<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">
<link rel="stylesheet" href="{{ "css/modals.css" | absURL }}" type="text/css">
{{ "<!-- 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 }}