diff --git a/config.toml b/config.toml index 23550c49..9ae97a76 100644 --- a/config.toml +++ b/config.toml @@ -11,6 +11,11 @@ Copyright = "All rights reserved - 2006-" preserveTaxonomyNames = true #canonifyurls = true +[taxonomies] + category = "categories" + tag = "tags" + series = "series" + [privacy] # Google Analytics privacy settings - https://gohugo.io/about/hugo-and-gdpr/index.html#googleanalytics [privacy.googleAnalytics] diff --git a/content/post/2019/07/black-and-white-school-park.md b/content/post/2019/07/black-and-white-school-park.md index 1ce59cbc..c743a62f 100644 --- a/content/post/2019/07/black-and-white-school-park.md +++ b/content/post/2019/07/black-and-white-school-park.md @@ -3,6 +3,7 @@ title: "Black and White School Park" date: 2019-07-01T00:25:08-05:00 categories: ["photos"] image: /photos/Local/Black-and-White-School-Park/20190624183103.jpg +series: ["Black And White"] --- The local elementary school as a nice little playground/park next to it, and when I was there the other night, I took a few pictures, this time in B&W. diff --git a/themes/nederburg/layouts/_default/single.html b/themes/nederburg/layouts/_default/single.html index 7764c2d3..26755e2a 100644 --- a/themes/nederburg/layouts/_default/single.html +++ b/themes/nederburg/layouts/_default/single.html @@ -79,7 +79,24 @@ {{ $name }} {{ end }} -

+

+ +{{ if .Params.series }} +{{ $name := index .Params.series 0 }} +
+

This is a post in the +{{$name}} series.
+Other posts in this series:

+ +{{ $name := $name | urlize }} +{{ $series := index .Site.Taxonomies.series $name }} + +{{end}} {{ if and (isset .Site.Params "author") .Site.Params.author }}