diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-14 11:38:07 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-14 11:38:07 +0800 |
| commit | 883c9ec553e3fcfb9067e2d75fd1f17c72b855bf (patch) | |
| tree | 157dd20286e88e827518c67bcb1ffbff95b28f2e /exampleSite/layouts/_default/icons.html | |
| parent | 7880623a8d195abb0b500b17cbf8f3e62fd93fc7 (diff) | |
add exampleSite
Diffstat (limited to 'exampleSite/layouts/_default/icons.html')
| -rw-r--r-- | exampleSite/layouts/_default/icons.html | 13 |
1 files changed, 13 insertions, 0 deletions
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" }} +<h1>{{ .Title }}</h1> + +<div id="icons"> +{{ range $name, $icon := $.Site.Data.svg }} + <div class="item"> + <div class="icon">{{ safeHTML $icon }}</div> + <div class="name">{{ $name }}</div> + </div> +{{ end }} +</div> + +{{- end }} |
