diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 24be89d..696ae66 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,25 +7,7 @@ {{ partial "post-metadata/full.html" . }} - - {{ with (.GetTerms "series") }} - {{ $series := slice }} - {{ range . }} - {{ $series = $series | append (printf `%s` .Permalink .LinkTitle) }} - {{ end }} - -
- {{ partial "icon.html" "info" }} - {{ if gt (len $series) 1 }} - This post is part of multiple series: - {{ else }} - This post is part of a series: - {{ end }} - - {{ delimit $series ", " }} -
- {{ end }} - + {{ partial "series-box.html" . }} {{ if .Params.Toc }}
@@ -80,6 +62,8 @@
{{ end }} + {{ partial "series-box.html" . }} + {{ $related := .Site.RegularPages.Related . | first 10 }} {{ with $related }}