aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/author.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2024-12-27 04:01:34 +0100
committerOscar Najera <hi@oscarnajera.com>2024-12-27 21:59:22 +0100
commitedf690072e871a3e6acd84b8e9fb84483fdebdc2 (patch)
treee843cc36fe2c0dbb9b47c3e416a7f1dd9ab8981c /layouts/_default/author.html
parenta77f5ec0e165c4e061f42b789bcddae75d6fe78c (diff)
downloadhugo-minimalist-theme-edf690072e871a3e6acd84b8e9fb84483fdebdc2.tar.gz
hugo-minimalist-theme-edf690072e871a3e6acd84b8e9fb84483fdebdc2.tar.bz2
hugo-minimalist-theme-edf690072e871a3e6acd84b8e9fb84483fdebdc2.zip
Track author taxonomy
Diffstat (limited to 'layouts/_default/author.html')
-rw-r--r--layouts/_default/author.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/_default/author.html b/layouts/_default/author.html
new file mode 100644
index 0000000..1179500
--- /dev/null
+++ b/layouts/_default/author.html
@@ -0,0 +1,26 @@
+{{ define "hero" }}
+ {{ partial "hero.html" . }}
+{{ end }}
+{{ define "main" }}
+ {{- $sectionDelimiter := "<!-- section break -->" -}}
+ {{- $rawContentSections := split .RawContent $sectionDelimiter -}}
+ {{ range $rawContentSections }}
+ <div class="stripe-dark">
+ <div class="mw7 center pv2 lh-copy f4-ns ph1">
+ {{ . | markdownify }}
+ </div>
+ </div>
+ {{ end }}
+
+
+ <div class="stripe-dark">
+ <div class="mw7 center pv2 lh-copy f4-ns ph1">
+ {{ range .Pages.GroupBy "Section" "asc" }}
+ <h2>{{ .Key }} {{ . }}</h2>
+ {{ range .Pages }}
+ {{ partial "post.html" . }}
+ {{ end }}
+ {{ end }}
+ </div>
+ </div>
+{{ end }}