aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/about.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-09-06 21:44:11 +0200
committerOscar Najera <hi@oscarnajera.com>2023-09-06 21:44:11 +0200
commit4cf3f2e6297878a4a6303a886e24addd5cf4580f (patch)
tree193599c81185bda2876a9a9826e7ec4c4499e994 /layouts/_default/about.html
parent4aaada38d09811b6ee6a34f55b3a44514efa2aad (diff)
downloadhugo-minimalist-theme-4cf3f2e6297878a4a6303a886e24addd5cf4580f.tar.gz
hugo-minimalist-theme-4cf3f2e6297878a4a6303a886e24addd5cf4580f.tar.bz2
hugo-minimalist-theme-4cf3f2e6297878a4a6303a886e24addd5cf4580f.zip
Simplify and consolidate page styles
Use the section template instead of defining a new page type for the about page. In general I could build on pieces of markdown for each subsection.
Diffstat (limited to 'layouts/_default/about.html')
-rw-r--r--layouts/_default/about.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/_default/about.html b/layouts/_default/about.html
new file mode 100644
index 0000000..6fdfaba
--- /dev/null
+++ b/layouts/_default/about.html
@@ -0,0 +1,12 @@
+{{ define "hero" }}
+{{ partial "hero.html" . }}
+{{ end }}
+
+{{ define "main" }}
+{{ range .Paginator.Pages }}
+<div class="main-content lh-copy f5 f4-ns">
+{{ .Content }}
+</div>
+{{ end }}
+
+{{ end }}