From 883c9ec553e3fcfb9067e2d75fd1f17c72b855bf Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 14 Apr 2022 11:38:07 +0800 Subject: add exampleSite --- exampleSite/layouts/_default/icons.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 exampleSite/layouts/_default/icons.html (limited to 'exampleSite/layouts/_default') diff --git a/exampleSite/layouts/_default/icons.html b/exampleSite/layouts/_default/icons.html new file mode 100644 index 0000000..bc542a7 --- /dev/null +++ b/exampleSite/layouts/_default/icons.html @@ -0,0 +1,13 @@ +{{- define "main" }} +

{{ .Title }}

+ +
+{{ range $name, $icon := $.Site.Data.svg }} +
+
{{ safeHTML $icon }}
+
{{ $name }}
+
+{{ end }} +
+ +{{- end }} -- cgit v1.2.3