Welcome to mirror list, hosted at ThFree Co, Russian Federation.

head.html « partials « layouts - github.com/kc0bfv/autophugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 882cd912e3f95b52812f25851f1fa4e91c84fc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="keywords" content="{{ with .Site.Params.keywords }}{{ . }}{{ end }}">

{{ $description := $.Param "description" }}
{{- with $description }}<meta name="description" content="{{ . }}">{{ end }}
{{ $author := .Params.author.name | default .Site.Author.name }}
{{- with $author }}<meta name="author" content="{{ . }}">{{ end }}
<link rel="icon" href="{{ .Site.Params.favicon | relURL }}">
<link rel="shortcut icon" href="{{ .Site.Params.favicon | relURL }}">

{{- partial "scratch_set_retalbumthumb.html" . }}
{{- /* Note that the Scratch below must come from . context, not $ */}}
{{- .Scratch.Set "image" (.Scratch.Get "retalbumthumb") }}

{{- partial "opengraph_twittercard.html" . }}

<meta name="robots" content="index,follow">
<meta name="referrer" content="origin-when-cross-origin">
{{ with .Site.Params.googlesiteverification }}<meta name="google-site-verification" content="{{ . }}">{{ end }}
{{ with .Site.Params.msvalidate }}<meta name="msvalidate.01" content="{{ . }}">{{ end }}
{{ hugo.Generator }}
{{ with .OutputFormats.Get "RSS" }}
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
{{ end }}

{{ template "_internal/google_analytics_async.html" . }}

{{- $font_awesome := resources.Get "css/font-awesome.min.css" -}}
{{- $google_font := resources.Get "css/source-sans-pro.css" -}}
{{- $main_css := resources.Get "css/main.css" -}}
{{- $mg_pop_css := resources.Get "css/magnific-popup.css" -}}
{{- $custom_css := slice $font_awesome $google_font $main_css $mg_pop_css | resources.Concat "css/custom.css" | resources.Minify | resources.Fingerprint -}}
<link rel="stylesheet" href="{{ $custom_css.RelPermalink }}" integrity="{{ $custom_css.Data.Integrity }}"/>