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/partials | |
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/partials')
-rw-r--r-- | layouts/partials/open_section.html | 8 | ||||
-rw-r--r-- | layouts/partials/post.html | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/layouts/partials/open_section.html b/layouts/partials/open_section.html index 805d802..cf59ee8 100644 --- a/layouts/partials/open_section.html +++ b/layouts/partials/open_section.html @@ -1,7 +1,5 @@ -<div class="mw7 center pa2"> - <h2 class="baskerville f2 lh-title">{{ .Title }}</h2> +<h2 class="baskerville f2 lh-title">{{ .Title }}</h2> - <div class="main-content lh-copy"> - {{ .Content }} - </div> +<div class="main-content lh-copy"> + {{ .Content }} </div> diff --git a/layouts/partials/post.html b/layouts/partials/post.html index 99aa825..19352e6 100644 --- a/layouts/partials/post.html +++ b/layouts/partials/post.html @@ -1,5 +1,5 @@ -<article class="mw7 center pv4 ph3"> -<a class="db no-underline grow" href= "{{ .RelPermalink }}"> +<article class="pv4 bt bb b--black-10"> +<a class="db no-underline dim" href= "{{ .RelPermalink }}"> <h3 class="f3 baskerville mt0 lh-title near-black">{{.Title }}</h3> <div class="cf"> {{ if isset .Params "image" }} |