diff --git a/assets/scss/index.scss b/assets/scss/index.scss index 669e00f..c988009 100644 --- a/assets/scss/index.scss +++ b/assets/scss/index.scss @@ -419,7 +419,7 @@ button { box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); max-width: 350px; height: 400px; - margin: 5px; + margin: auto; justify-content: center; } diff --git a/layouts/404.html b/layouts/404.html index 25db2e6..98e5238 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,5 +1,5 @@ {{ define "main" }}
- + Not Found Image
{{ end }} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2ccfa6b..2918eba 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "main" }} {{ with .Params.image }} {{ if .url }} - + {{ .alt }} {{ else }} {{ end }} diff --git a/layouts/_default/term.html b/layouts/_default/term.html index d5ab45d..9339310 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -9,18 +9,20 @@
{{ range .Pages }} - -
- {{ if .Params.image }} - - {{ else }} - - {{ end }} -
{{.Title}}
-
{{ .Content | safeHTML | truncate 250 }}
-
{{.Date.Format "02.01.2006"}} | {{.ReadingTime}} Minuten
-
-
+
+ +
+ {{ if .Params.image }} + {{ .Params.image.alt }} + {{ else }} + Default Image + {{ end }} +
{{.Title}}
+
{{ .Content | safeHTML | truncate 250 }}
+
{{.Date.Format "02.01.2006"}} | {{.ReadingTime}} Minuten
+
+
+
{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8438d04..ef1f315 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -13,7 +13,7 @@