diff --git a/data/panaetius-theme/assets.json b/data/panaetius-theme/assets.json index cc7b5ee..cc2c8b4 100644 --- a/data/panaetius-theme/assets.json +++ b/data/panaetius-theme/assets.json @@ -9,7 +9,7 @@ "js": "2.lazyload.1168fc21175de558d316.min.js" }, "main": { - "css": "main.854425fe9410f0937f19.min.css", + "css": "main.056eb67e3d086eb33a6f.min.css", "js": "main.48637aff6f96e597ae05.min.js" }, "vendors~app": { diff --git a/layouts/index.html b/layouts/index.html index 5c12c00..733e1b9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,59 +1,61 @@ {{ define "main" }} -{{ .Scratch.Set "IsSingle" true }} - - - - - {{ .Scratch.Get "IsSingle" }} - + + + + {{ .Site.Title }} + {{- with .Site.Params.description -}} + + + {{ . | safeHTML }} + {{- end -}} + + + {{- with .Site.Params.homepageImage -}} {{/* */}} - + {{- end -}} - - {{ .Site.Title }} - {{- with .Site.Params.description -}} - {{ . | safeHTML }} - {{- end -}} + - - {{- range first 1 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) -}} - {{ $page := . }} - - - {{- with .Resources.Match "images/banner.svg" -}} - {{ range . }} - {{- $image := . -}} - - - - {{- end -}} - {{- end -}} - - - {{ $page.Date.Format "January 2, 2006" }} - {{ $page.Title }} + + {{- range first 1 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) -}} + {{ $page := . }} + + + {{- with .Resources.Match "images/banner.svg" -}} + {{ range . }} + {{- $image := . -}} + + + + {{- end -}} + {{- end -}} + + + {{ $page.Date.Format "January 2, 2006" }} + {{ $page.Title }} - - {{ $page.Summary }} + + {{ $page.Summary }} + - - {{- end -}} + {{- end -}} - - - {{ range after 1 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} - - {{ .Render "card" }} + + + {{ range after 1 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} + + {{ .Render "card" }} + + {{ end }} - {{ end }}