From 823adde65557ea0dc26ef1dd0df085523508f451 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Fri, 3 Dec 2021 04:14:31 +0100 Subject: [PATCH] Render menu header template --- frontend/templates/blog.go.tmpl | 10 ++++++++++ frontend/templates/error.go.tmpl | 5 +++++ frontend/templates/index.go.tmpl | 10 ++++++++++ frontend/templates/menu.go.tmpl | 9 +++++++++ frontend/templates/templates.go | 1 + 5 files changed, 35 insertions(+) create mode 100644 frontend/templates/menu.go.tmpl diff --git a/frontend/templates/blog.go.tmpl b/frontend/templates/blog.go.tmpl index c37e406..e398f7a 100644 --- a/frontend/templates/blog.go.tmpl +++ b/frontend/templates/blog.go.tmpl @@ -5,5 +5,15 @@ {{ template "head.go.tmpl" . }} + +
+ + + + +
+ \ No newline at end of file diff --git a/frontend/templates/error.go.tmpl b/frontend/templates/error.go.tmpl index a877b06..e51d1ab 100644 --- a/frontend/templates/error.go.tmpl +++ b/frontend/templates/error.go.tmpl @@ -6,6 +6,11 @@ + + + /* $NetBSD: yes.c,v 1.5 1997/10/19 14:28:27 mrg Exp $ */ diff --git a/frontend/templates/index.go.tmpl b/frontend/templates/index.go.tmpl index c37e406..3698343 100644 --- a/frontend/templates/index.go.tmpl +++ b/frontend/templates/index.go.tmpl @@ -5,5 +5,15 @@ {{ template "head.go.tmpl" . }} + +
+ + + + +
+ \ No newline at end of file diff --git a/frontend/templates/menu.go.tmpl b/frontend/templates/menu.go.tmpl new file mode 100644 index 0000000..eef155d --- /dev/null +++ b/frontend/templates/menu.go.tmpl @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/frontend/templates/templates.go b/frontend/templates/templates.go index 842e2f0..d56a223 100644 --- a/frontend/templates/templates.go +++ b/frontend/templates/templates.go @@ -16,6 +16,7 @@ import ( //go:embed error.go.tmpl //go:embed head.go.tmpl //go:embed index.go.tmpl +//go:embed menu.go.tmpl var content embed.FS // List of compiled go-templates