diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/about.html | 10 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/layouts/_default/about.html b/layouts/_default/about.html index 3fa1090..9c4ca2f 100644 --- a/layouts/_default/about.html +++ b/layouts/_default/about.html @@ -7,11 +7,17 @@ <div class="stripe-dark"></div> {{ range .Paginator.Pages }} <div class="stripe-dark"> - <div class="mw7 center pv2 lh-copy f4-ns main-content ph1"> + <div class="mw7 center pv2 lh-copy f4-ns ph1"> <h2 class="athelas lh-title f2"> {{ .Title }} </h2> - {{ .Content }} + {{ with .Content }} + <div class="main-content">{{ . }}</div> + {{ end }} + + {{ range where site.RegularPages "Type" "eq" .Params.subsection }} + {{ partial "post.html" . }} + {{ end }} </div> </div> {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5405e4a..fe5115e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,7 +8,7 @@ <h3 class="f3 baskerville mv3 pa1">{{ . }}</h3> {{ end }} - {{ if in (slice "post" "talk") .Section }} + {{ if in (slice "post" "talk" "publication") .Section }} {{ partial "metadata.html" . }} {{ end }} |