From 3e799b04183f6aa46365c96f6eb886eaa727ddf4 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Mon, 18 Oct 2021 14:17:16 -0500 Subject: [PATCH] Support categories Fixes #31 --- layouts/_default/summary.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index e50e651..119dbde 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,5 +1,9 @@

+ {{ range .Params.categories }} + {{ . }} + {{ end }} + {{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }} {{ .Title | markdownify }} {{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }}