thead.html - andersdamsgaard.com - my photography webpage
(HTM) git clone git://src.adamsgaard.dk/andersdamsgaard.com
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
thead.html (1851B)
---
1 <head>
2 <meta charset="UTF-8">
3 <meta name="viewport" content="width=device-width, initial-scale=1.0">
4 {{- if eq .RelPermalink "/" }}
5 <meta name="description" content="{{ .Site.Params.Description }}">
6 {{- else if .Description }}
7 <meta name="description" content="{{ .Description }}">
8 {{- end }}
9
10 <title>
11 {{- if eq .RelPermalink "/" }}
12 {{ .Site.Title }}
13 {{- else }}
14 {{ .Title }} · {{ .Site.Title }}
15 {{- end }}
16 </title>
17
18 <script type="text/javascript">
19 if (window.location.href.indexOf("andersdamsgaard.dk") > -1) {
20 url=window.location.href;
21 url=url.replace("andersdamsgaard.dk","andersdamsgaard.com/da");
22 window.location.replace(url);
23 }
24 </script>
25
26 <!-- CSS -->
27 {{- $inServerMode := .Site.IsServer }}
28 {{- $cssTarget := "css/style.css" }}
29 {{- $cssOptions := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }}
30 {{- $style := resources.Get "scss/tale.scss" | toCSS $cssOptions }}
31 <link rel="stylesheet" href="{{ $style.RelPermalink }}">
32 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700">
33 {{- $inServerMode := .Site.IsServer }}
34 {{- $style := resources.Get "css/w3.css" }}
35 <link rel="stylesheet" href="{{ $style.RelPermalink }}">
36
37 <!-- Favicon -->
38 <link rel="icon" type="image/png" sizes="32x32" href="{{ .Site.BaseURL }}images/favicon-32x32.png">
39 <link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.BaseURL }}images/favicon-16x16.png">
40 <link rel="apple-touch-icon" sizes="180x180" href="{{ .Site.BaseURL}}images/apple-touch-icon.png">
41
42 <!-- RSS -->
43 <link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
44 </head>
45