Browse Source

mastodon proof and syntax improvements

max.mehl 6 months ago
parent
commit
44ad282991
No account linked to committer's email address
1 changed files with 9 additions and 8 deletions
  1. 9
    8
      themes/hugo-sustain/layouts/partials/head.html

+ 9
- 8
themes/hugo-sustain/layouts/partials/head.html View File

@@ -1,13 +1,14 @@
1 1
 <!DOCTYPE html>
2 2
 <html lang="{{ .Site.LanguageCode }}">
3 3
   <head>
4
-    <meta charset="utf-8">
5
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
-    <meta name="viewport" content="width=device-width, initial-scale=1">
4
+    <meta charset="utf-8" />
5
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
7 7
     <meta name="author" content="{{ .Site.Params.Author }}" />
8
-    {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
9
-    {{ with .Site.Params.keywords }}<meta name="description" content="{{ . }}">{{ end }}
10
-    <link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}img/favicon.ico">
8
+    {{ with .Site.Params.description }}<meta name="description" content="{{ . }}" />{{ end }}
9
+    {{ with .Site.Params.keywords }}<meta name="description" content="{{ . }}" />{{ end }}
10
+    <link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}img/favicon.ico" />
11
+    <link rel="me" href="https://mastodon.social/@mxmehl" />
11 12
     <title>
12 13
     {{- if .IsHome -}}
13 14
         {{- .Site.Title -}}
@@ -19,12 +20,12 @@
19 20
     <link rel="stylesheet" href="{{ .Site.BaseURL }}css/bootstrap-3.3.7.min.css" />
20 21
     <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/main.css" />
21 22
     {{- if .Params.highlight -}}
22
-    <link rel="stylesheet" href="{{ .Site.BaseURL }}css/tomorrow-9.7.0.min.css">
23
+    <link rel="stylesheet" href="{{ .Site.BaseURL }}css/tomorrow-9.7.0.min.css" />
23 24
     {{ end }}
24 25
     <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/fontawesome/css/all.min.css" />
25 26
     <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/fonts.css" />
26 27
     {{ range .Site.Params.custom_css }}
27
-    <link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}">
28
+    <link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}" />
28 29
     {{ end }}
29 30
     {{ `<!--[if lt IE 9]>
30 31
 			<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>

Loading…
Cancel
Save