From 79a9777e9a27be2d50e036314964206bae5033e6 Mon Sep 17 00:00:00 2001 From: Delaby Pierre Date: Tue, 16 Oct 2018 12:08:58 +0200 Subject: [PATCH] Displays tags on single (using header) Display tags list when clicking on tag --- layouts/_default/list.html | 12 ++++++++- layouts/partials/header.html | 12 +++++++-- layouts/partials/tags.html | 7 ++++++ static/css/theme.css | 48 ++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/tags.html diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d9598ac6e8..1b432b22d3 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,16 @@ {{ partial "header.html" . }} -{{ .Content }} +{{ if eq .Kind "section" }} + {{ .Content }} +{{end}} + +{{ if eq .Kind "taxonomy" }} + +{{end}}