diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-09-02 05:55:18 +0300 |
---|---|---|
committer | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-09-02 05:55:18 +0300 |
commit | 3943628e0c485e7a67c55c317f31083adfe70aa5 (patch) | |
tree | 984246c6481367c4cfcff307794a6049d994f05b /layouts | |
parent | 085853e52fd8a6c624931abd1382068378ff26f4 (diff) |
styling of the bottom of the page
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/partials/about.html | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index bb94f2f..67fdcdf 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "title" }}{{ cond (eq .Site.Params.titlecase true) (.Title | title | markdownify) (.Title | markdownify) }}{{ end }} {{ define "main" }} -<article class="bb b--black-10 center ph3 nested-copy-line-height lh-copy f4 nested-links mw-100 measure-wide"> +<article class="center ph3 nested-copy-line-height lh-copy f4 nested-links mw-100 measure-wide"> {{ .Content }} </article> {{ end }} diff --git a/layouts/partials/about.html b/layouts/partials/about.html index bdd1cea..e464a0a 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -1,4 +1,4 @@ - <div id="about" class="f6 f5-l ph3 pb6 center nested-copy-line-height lh-copy nested-links mw-100 measure-wide"> + <div id="about" class="f6 f5-l mt5 ph3 pb6 center nested-copy-line-height lh-copy nested-links mw-100 measure-wide"> <div class="about-the-author"> {{ if .IsPage }} {{ $author := (printf "/authors/%s" (default .Site.Params.author (default "Unknown" .Params.author) | urlize)) }} @@ -7,12 +7,16 @@ {{ .Content }} {{ end }} {{ else }} - {{ with .Site.GetPage "/" }}{{ .Content }}{{ end }} + {{ with .Site.GetPage "/" }} + {{ .Content }} + {{ end }} {{ end }} {{ else if gt .Content "" }} {{ .Content }} {{ else }} - {{ with .Site.GetPage "/" }}{{ .Content }}{{ end }} + {{ with .Site.GetPage "/" }} + {{ .Content }} + {{ end }} {{ end }} </div> {{ with .Site.Params.mailchimp }} |