diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index dc1979f..f248dda 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,28 +3,37 @@ - {{ with .OutputFormats.Get "rss" -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} - {{ end -}} + {{ with .OutputFormats.Get "rss" }} + {{- printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML -}} + {{ end }} - - {{ $style := resources.Get "/sass/main.scss" | resources.ToCSS }} - - - {{ block "title" . }} {{ .Site.Title }} {{ end }} - + + {{ if .Params.description -}} + + {{- end -}} + + {{ if .Params.keywords -}} + + {{- end }} + + {{ $style := resources.Get "/sass/main.scss" | resources.ToCSS -}} + + + + {{- block "title" . }}{{ .Site.Title }}{{ end -}} + + - {{ partial "header.html" . }} - {{ block "headline" . }} - {{ end }} + + {{ partial "header.html" . }} + {{ block "main" . }} {{ end }} {{ partial "footer.html" . }} - {{ block "footer" . }} - {{ end }} + diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6955e0e..6854b99 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,13 +1,22 @@ {{ define "main" }} + + {{ $pages := .Site.RegularPages }} + {{if not .IsHome }} +

{{ .Title | markdownify | lower }}

+ + {{ $pages = .Pages }} + {{ end }} - {{ .Content }} + +
{{ .Content }}
+
- {{ $pages := .Pages }} - {{ range (where $pages "Section" "ne" "") }} + {{ range $pages }} {{ partial "article-card.html" . }} {{ end }}
+ {{ end }}