diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-09-06 21:44:11 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-09-06 21:44:11 +0200 |
commit | 4cf3f2e6297878a4a6303a886e24addd5cf4580f (patch) | |
tree | 193599c81185bda2876a9a9826e7ec4c4499e994 /layouts/_default/single.html | |
parent | 4aaada38d09811b6ee6a34f55b3a44514efa2aad (diff) | |
download | hugo-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/single.html')
-rw-r--r-- | layouts/_default/single.html | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 894caf5..d12dd07 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,4 @@ {{ define "main" }} -<article class="mw7 center avenir ph2"> <header> <h2 class="baskerville f2 lh-title mv3"> {{ .Title }} @@ -25,15 +24,11 @@ {{ if isset .Params "metadata" }} {{ partial "metadata.html" . }} {{ end }} - - </header> - - <div class="main-content sans-serif f5 f4-ns lh-copy baskerville"> +<div class="main-content lh-copy f5 f4-ns"> {{ .Content }} - </div> -</article> -<div class="sans-serif f5 f4-ns lh-copy pv2"> +</div> +<div class="f5 f4-ns lh-copy pv2"> {{ if isset .Params "metadata" }} {{ partial "author_card" . }} {{ end }} |