mirror of https://github.com/onweru/compose.git

Cellebyte
05.10.2025 4624e9ce27a52beb417fe4df86ebe5b7b2f8b1a7
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
43
44
45
46
47
48
49
50
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{- hugo.Generator }}
{{- $iconsPath := "favicons/" }}
<link rel="apple-touch-icon" sizes="180x180" href='{{ absURL (printf "%sapple-touch-icon.png" $iconsPath) }}'>
<link rel="icon" type="image/png" sizes="32x32" href='{{ absURL (printf "%sfavicon-32x32.png" $iconsPath) }}'>
<link rel="icon" type="image/png" sizes="16x16" href='{{ absURL (printf "%sfavicon-16x16.png" $iconsPath) }}'>
<link rel="manifest" href='{{ absURL (printf "%ssite.webmanifest" $iconsPath) }}'>
<link rel="mask-icon" href='{{ absURL (printf "%ssafari-pinned-tab.svg" $iconsPath) }}' color="#004750">
<link rel="shortcut icon" href='{{ absURL (printf "%sfavicon.ico" $iconsPath) }}'>
<meta name="msapplication-config" content='{{ absURL (printf "%sbrowserconfig.xml" $iconsPath) }}'>
{{- $t := .Title }}
{{- $s := site.Title }}
{{- if in (lower $s) (lower $t) }}
{{- $t = false }}
{{- end }}
<title>{{ if and $t (ne (trim (lower $s) "") (trim (lower $t) "")) }}{{ $t }} | {{ end }}{{ $s }}</title>
 
{{- partial "opengraph.html" . }}
{{- partial "schema.html" . }}
{{- partial "twitter_cards.html" . }}
{{- if hugo.IsProduction }}
{{- partial "google_analytics.html" . }}
{{- end }}
 
{{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . |
css.Sass $options | fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
 
{{- $config := site.Params }}
{{- with $config.customCSS }}
{{- range . -}}
<link rel="stylesheet" href="{{ . }}">
{{- end }}
{{- end }}
 
{{- with $config.metaThemeColor }}
<meta name="theme-color" content="{{ . }}">
{{- end }}
 
{{- if .Description }}
<meta name="description" content="{{ .Description }}">
{{- else if .IsPage }}
<meta name="description" content="{{ plainify .Summary }}">
{{- else if $config.Description }}
<meta name="descripion" content="{{ $config.Description }}">
{{- end }}
{{- partial "head/liteyoutube" . }}
{{- partialCached "hooks/head" . -}}