diff --git a/templates/components/head.gohtml b/templates/components/core.gohtml similarity index 76% rename from templates/components/head.gohtml rename to templates/components/core.gohtml index af80dd8..4d6aeeb 100644 --- a/templates/components/head.gohtml +++ b/templates/components/core.gohtml @@ -19,4 +19,14 @@ {{define "js"}} +{{end}} + +{{define "footer"}} + {{- if .CSRF}} + + {{end}} {{end}} \ No newline at end of file diff --git a/templates/layouts/auth.gohtml b/templates/layouts/auth.gohtml index eeb2dd4..6b78cd5 100644 --- a/templates/layouts/auth.gohtml +++ b/templates/layouts/auth.gohtml @@ -23,5 +23,7 @@ + + {{template "footer"}} \ No newline at end of file diff --git a/templates/layouts/main.gohtml b/templates/layouts/main.gohtml index c153ce8..22a9b61 100644 --- a/templates/layouts/main.gohtml +++ b/templates/layouts/main.gohtml @@ -38,5 +38,7 @@ + + {{template "footer"}} \ No newline at end of file