diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-08-27 12:37:24 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-08-27 12:37:24 +0200 |
commit | 225a25bc7236ea4b9168ee1ac5ea0dbeb9ac5e79 (patch) | |
tree | 8276be41bce300a5c52abfbff92c1f5841e8309a /layouts/index.html | |
parent | a0e572976134fc06e30dfacaebb7bac9eb2cbd86 (diff) | |
download | hugo-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/index.html')
-rw-r--r-- | layouts/index.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/layouts/index.html b/layouts/index.html index 8199e84..a21b7c4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,16 +3,16 @@ <!-- Page Content --> {{ range $index, $element := where .Pages "Type" "in" .Site.Params.mainSections }} +<div class="mw7 center avenir ph2"> {{ partial "open_section.html" . }} +{{ range first .Params.index_show .Pages.ByPublishDate.Reverse }} +{{ partial "post.html" . }} +{{ end }} - {{ range first .Params.index_show .Pages.ByPublishDate.Reverse }} - {{ partial "post.html" . }} - {{ end }} - - <div class="tc pa3"> - <i class="fas fa-angle-right"></i> - <a href="{{ .Type }}" class="f3 link near-black">See all</a> - </div> - </div> +<div class="tc pa3"> + <i class="fas fa-angle-right"></i> + <a href="{{ .Type }}" class="f3 link near-black">See all</a> +</div> +</div> {{ end }} {{ end }} |