From c2d72e09747a2a4abe9602e1ba49a1b4649c9d3c Mon Sep 17 00:00:00 2001 From: Jieiku Date: Fri, 14 Aug 2026 15:10:15 -0700 Subject: Update for Zola 0.23.3 --- templates/shortcodes/showdata.html | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 templates/shortcodes/showdata.html (limited to 'templates/shortcodes/showdata.html') diff --git a/templates/shortcodes/showdata.html b/templates/shortcodes/showdata.html deleted file mode 100644 index 7f3d3bc..0000000 --- a/templates/shortcodes/showdata.html +++ /dev/null @@ -1,18 +0,0 @@ -{# showdata(src="../theme.toml" type="toml" key="min_version") #} - -{%- if src and key and type %} - {%- if src is matching("^http[s]?://") %} - {% set data = load_data(url=src, format=type) %} - {%- else %} - {% set data = load_data(path=src, format=type) %} - {%- endif %} - {{ data[key] }} -{%- else %} - {# Load other file types as plain text #} - {%- if src is matching("^http[s]?://") %} - {% set data = load_data(url=src) %} - {%- else %} - {% set data = load_data(path=src) %} - {%- endif %} - {{ data }} -{%- endif %} -- cgit v1.3.1