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: 6e69817c2697e0946e42f3231d99d1dc747f6353 (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
<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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.8.2/css/bulma.min.css">

{{ 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 or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}