diff --git a/pages.go b/pages.go index 3ccd032..54cafb4 100644 --- a/pages.go +++ b/pages.go @@ -125,7 +125,9 @@ var ( ) //tmpl:bind footer.html -type FooterPartial struct{} +type FooterPartial struct { + BigImage string +} func (*FooterPartial) TemplateText() string { return tmplFooter } diff --git a/templates/footer.html b/templates/footer.html index 5e32c62..5e8f255 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -20,3 +20,5 @@ + + diff --git a/templates/note.html b/templates/note.html index 21d6d4f..af7b5a4 100644 --- a/templates/note.html +++ b/templates/note.html @@ -80,6 +80,6 @@ - {{template "footer" .}} + {{template "footer" .OpenGraphPartial}}