From fddb7ab0e417beb9905e7783ee01f8e981730315 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 10 Oct 2021 16:27:46 -0500 Subject: [PATCH] Support section icons --- layouts/_default/list.html | 1 + layouts/_default/summary.html | 1 + 2 files changed, 2 insertions(+) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3477951..b6adf80 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -13,6 +13,7 @@ {{ else }}

+ {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} {{ .Title | markdownify }} {{ with .OutputFormats.Get "rss" }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 1cf4b54..ec2161d 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,5 +1,6 @@

+ {{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }} {{ .Title | markdownify }}