From 5d42e59c7f797deb6f461df564cecfc4643fa002 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 30 May 2021 07:00:39 +0000 Subject: Hide post format setting in case of empty list --- templates/settings.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/settings.tmpl') diff --git a/templates/settings.tmpl b/templates/settings.tmpl index 8aee4e2..500aea8 100644 --- a/templates/settings.tmpl +++ b/templates/settings.tmpl @@ -5,6 +5,7 @@
+ {{if .PostFormats}}
{{$defFormat := .Settings.DefaultFormat}} @@ -14,6 +15,7 @@ {{end}}
+ {{end}}