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

head.html « partials « layouts - github.com/rafed/ramium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 06db0caeddfad2e33e9716929cf1ef0b2f1689fd (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
36
37
38
39
40
41
42
<title>
    {{- if not .IsHome }}
    {{ with .Title }}{{ . }} | {{ end }}
    {{ end }}
    {{ .Site.Title -}}
</title>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">

<meta name="description" 
      content="{{- with .Description }}{{ . }}
                {{ else }}{{ with .Summary }}{{ . }}
                {{ else }}{{ .Site.Params.description }}
                {{ end }}{{ end -}}">

<link rel="canonical" href="{{ .Permalink }}" />

<link rel="icon" type="image/png" href="{{ .Site.BaseURL }}image/favicon.ico">

<link rel="stylesheet" href="{{ "/css/font-awesome.min.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/bulma.min.css" | relURL }}">

{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}

{{ if not (in (string .Site.BaseURL) "localhost") }}
    {{ template "_internal/google_analytics_async.html" . }}
{{ end }}

<script src={{ "/js/ramium.js" | relURL }}></script>
<link rel="stylesheet" href={{ "/css/ramium.css" | relURL }}>

{{ if .Params.chordsheet }}
<link rel="stylesheet" href={{ "/css/chordsheet.css" | relURL }}>
{{ end }}

{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}

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