aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html16
-rw-r--r--layouts/partials/metadata.gmi2
2 files changed, 9 insertions, 9 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b32f8ea..34a6ead 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,18 +1,18 @@
<head>
<meta charset="utf-8">
+ <meta name="theme-color" content="#000">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{- if $.Site.Params.description }}
<meta name="description" content="{{ $.Site.Params.description }}">
- {{- end }}
- {{- if $.Site.Params.keywords }}
+ {{- end -}}
+ {{ if $.Site.Params.keywords }}
<meta name="keywords" content="{{ $.Site.Params.keywords }}">
- {{- end }}
- <meta name="theme-color" content="#000">
- {{- if .Site.Params.custom_css }}
- {{- range .Site.Params.custom_css }}
+ {{- end -}}
+ {{ if .Site.Params.custom_css -}}
+ {{ range .Site.Params.custom_css }}
<link rel="stylesheet" type="text/css" href="{{ relURL . }}">
- {{- end }}
- {{- else }}
+ {{- end -}}
+ {{ else }}
<link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/style.css").RelPermalink }}">
{{- end }}
<title>{{ .Title }}</title>
diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi
index 1f8f513..00d78cd 100644
--- a/layouts/partials/metadata.gmi
+++ b/layouts/partials/metadata.gmi
@@ -1,2 +1,2 @@
-{{- partial "pageinfo.gmi" . }}
+{{ partial "pageinfo.gmi" . }}
=> {{ .RelPermalink | replaceRE `(?m)index.gmi` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} \ No newline at end of file