chore: remove unused template

This commit is contained in:
Tine 2024-02-10 18:07:17 +01:00
parent d802745b0a
commit d4647edfd2
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 0 additions and 13 deletions

View file

@ -10,7 +10,6 @@ import (
func Index(w http.ResponseWriter, r *http.Request) { func Index(w http.ResponseWriter, r *http.Request) {
ts, err := template.ParseFS(internal.Templates, ts, err := template.ParseFS(internal.Templates,
"ui/components/base.tmpl", "ui/components/base.tmpl",
"ui/components/icon.tmpl",
"ui/pages/index.tmpl", "ui/pages/index.tmpl",
) )
if err != nil { if err != nil {

View file

@ -1,12 +0,0 @@
{{ define "icon" }}
<svg
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="feather"
>
<use href="/static/icons/feather-sprite.svg#{{.}}" />
</svg>
{{ end }}