aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-08-27 12:37:24 +0200
committerOscar Najera <hi@oscarnajera.com>2023-08-27 12:37:24 +0200
commit225a25bc7236ea4b9168ee1ac5ea0dbeb9ac5e79 (patch)
tree8276be41bce300a5c52abfbff92c1f5841e8309a /layouts/_default
parenta0e572976134fc06e30dfacaebb7bac9eb2cbd86 (diff)
downloadhugo-minimalist-theme-225a25bc7236ea4b9168ee1ac5ea0dbeb9ac5e79.tar.gz
hugo-minimalist-theme-225a25bc7236ea4b9168ee1ac5ea0dbeb9ac5e79.tar.bz2
hugo-minimalist-theme-225a25bc7236ea4b9168ee1ac5ea0dbeb9ac5e79.zip
Main container wrapper to keep content width
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/single.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 5c60b97..8737066 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,8 +1,10 @@
{{ define "main" }}
+<div class="mw7 center avenir ph2">
{{ partial "open_section.html" . }}
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
{{ partial "post.html" . }}
{{ end }}
{{ partial "pagination.html" . }}
+</div>
{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 3d75915..894caf5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,5 +1,5 @@
{{ define "main" }}
-<article class="mw7 center ph2">
+<article class="mw7 center avenir ph2">
<header>
<h2 class="baskerville f2 lh-title mv3">
{{ .Title }}