From 2c28ffc741da78cd4b4f2136ae33b4f3502e078e Mon Sep 17 00:00:00 2001 From: Samarth Hattangady Date: Wed, 22 Jul 2020 13:53:34 +0530 Subject: [PATCH] feat: update layouts default term to match default list. --- layouts/_default/term.html | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 9648bf3..41a4c6f 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -1,15 +1,17 @@ - - -{{ partial "header.html" . }} +{{ define "main" }} +{{ if isset .Data "Term" }} +

Entries tagged - "{{ .Data.Term }}"

+{{ else }} +

All articles

+{{ end }} - -
- {{ partial "head.html" . }} - -

All tags

-
- - {{ partial "footer.html" . }} - - - \ No newline at end of file + +{{ end }}