diff --git a/templates/edit_form.tpl b/templates/edit_form.tpl index 68a09ae6..f785092e 100644 --- a/templates/edit_form.tpl +++ b/templates/edit_form.tpl @@ -1 +1,7 @@ +{{ define "Head" }} +{{ template "head" }} +{{ end }} + +{{define "Body"}} {{ .Content }} +{{ end }} diff --git a/templates/head.tpl b/templates/head.tpl new file mode 100644 index 00000000..acee9d88 --- /dev/null +++ b/templates/head.tpl @@ -0,0 +1,10 @@ + + + + + + + {{ .Title }} + + +