From 239d68f94c6250276850fbe95eaa6cdd5c38fb26 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sat, 16 Nov 2024 19:32:18 +0300 Subject: Своя тема, полностью всё переделал MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layouts/partials/helper/external.html | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 themes/hugo-theme-stack/layouts/partials/helper/external.html (limited to 'themes/hugo-theme-stack/layouts/partials/helper/external.html') diff --git a/themes/hugo-theme-stack/layouts/partials/helper/external.html b/themes/hugo-theme-stack/layouts/partials/helper/external.html deleted file mode 100644 index 88d9525..0000000 --- a/themes/hugo-theme-stack/layouts/partials/helper/external.html +++ /dev/null @@ -1,29 +0,0 @@ -{{- $List := index .Context.Site.Data.external .Namespace -}} -{{- with $List -}} - {{- range . -}} - {{- if eq .type "script" -}} - - {{- else if eq .type "style" -}} - - {{- else -}} - {{- errorf "Error: unknown external resource type: %s" .type -}} - {{- end -}} - {{- end -}} -{{- else -}} - {{- errorf "Error: external resource '%s' is not found" .Namespace -}} -{{- end -}} \ No newline at end of file -- cgit v1.2.3