From 6966cb7392b9afc6207cbefad96106c07f42854f Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 12 Sep 2015 21:20:40 +0100 Subject: [PATCH] add head.tpl --- templates/edit_form.tpl | 6 ++++++ templates/head.tpl | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 templates/head.tpl 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 }} + + +