diff --git a/.misc/screenshot1.png b/.misc/screenshot1.png index 3171d5b..388a618 100644 Binary files a/.misc/screenshot1.png and b/.misc/screenshot1.png differ diff --git a/.misc/screenshot2.png b/.misc/screenshot2.png index 5a45b0f..44b8bac 100644 Binary files a/.misc/screenshot2.png and b/.misc/screenshot2.png differ diff --git a/main.go b/main.go index 9d822b8..cc5defc 100644 --- a/main.go +++ b/main.go @@ -20,6 +20,7 @@ type TemplateData struct { Entry string Title string EntryTitle string + Footer []template.HTML } func loadTemplate() { @@ -41,7 +42,7 @@ func handleApplication(w http.ResponseWriter, req *http.Request) { } err = appTemplate.ExecuteTemplate( w, "app", - TemplateData{TOC: db.Keys, Entry: entry, Title: MainTitle, EntryTitle: entryName}) + TemplateData{TOC: db.Keys, Entry: entry, Title: MainTitle, EntryTitle: entryName, Footer: FooterContent}) if err != nil { logger.Println(err) } } diff --git a/public/index.html b/public/index.html index 731a9dd..ffbcc77 100644 --- a/public/index.html +++ b/public/index.html @@ -19,6 +19,7 @@ {{- else -}}