From fa5609b28597e0e8e17ccb0aa5bcd6b07d34c55c Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Thu, 18 Apr 2024 11:30:16 +0200 Subject: [PATCH] bugfix warning message regarding the use of 'IsSet' that could result in --- .prettierignore | 2 ++ themes/hugoplate/layouts/shortcodes/columns.html | 2 +- themes/hugoplate/layouts/shortcodes/mdcolumns.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..0c5def6 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +**/*.html + diff --git a/themes/hugoplate/layouts/shortcodes/columns.html b/themes/hugoplate/layouts/shortcodes/columns.html index 445f151..9b37cd0 100644 --- a/themes/hugoplate/layouts/shortcodes/columns.html +++ b/themes/hugoplate/layouts/shortcodes/columns.html @@ -1,5 +1,5 @@ {{/* TODO Add To Docs "top" */}} -
+
{{ range split (trim .Inner " \n") "..column.." }} {{ if ne . "" }} diff --git a/themes/hugoplate/layouts/shortcodes/mdcolumns.html b/themes/hugoplate/layouts/shortcodes/mdcolumns.html index 85cb172..c8db542 100644 --- a/themes/hugoplate/layouts/shortcodes/mdcolumns.html +++ b/themes/hugoplate/layouts/shortcodes/mdcolumns.html @@ -1,5 +1,5 @@ -
+
{{ range split (trim .Inner " \n") "..column.." }} {{ if ne . "" }}