From 28226401d76ebedb39129746eaaa1613c452f0eb Mon Sep 17 00:00:00 2001 From: r Date: Fri, 13 Dec 2019 20:04:28 +0000 Subject: Update page title and add navigation links --- templates/homepage.tmpl | 2 +- templates/navigation.tmpl | 4 ++++ templates/signin.tmpl | 7 ++++--- templates/thread.tmpl | 3 ++- templates/timeline.tmpl | 3 ++- 5 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 templates/navigation.tmpl (limited to 'templates') diff --git a/templates/homepage.tmpl b/templates/homepage.tmpl index 256bb29..63e613a 100644 --- a/templates/homepage.tmpl +++ b/templates/homepage.tmpl @@ -1,4 +1,4 @@ {{template "header.tmpl"}} -

HOME

+
Home
Signin {{template "footer.tmpl"}} diff --git a/templates/navigation.tmpl b/templates/navigation.tmpl new file mode 100644 index 0000000..ea4a213 --- /dev/null +++ b/templates/navigation.tmpl @@ -0,0 +1,4 @@ + diff --git a/templates/signin.tmpl b/templates/signin.tmpl index 07bc132..fc2edca 100644 --- a/templates/signin.tmpl +++ b/templates/signin.tmpl @@ -1,9 +1,10 @@ {{template "header.tmpl"}} -

Signin

- Home -
+
Signin
+ +
+ {{template "footer.tmpl"}} diff --git a/templates/thread.tmpl b/templates/thread.tmpl index 4d6aad0..ad312df 100644 --- a/templates/thread.tmpl +++ b/templates/thread.tmpl @@ -1,5 +1,6 @@ {{template "header.tmpl"}} -

THREAD

+
Thread
+{{template "navigation.tmpl"}} {{range .Context.Ancestors}} {{template "status.tmpl" .}} diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl index b9ee3a5..7f3234c 100644 --- a/templates/timeline.tmpl +++ b/templates/timeline.tmpl @@ -1,5 +1,6 @@ {{template "header.tmpl"}} -

TIMELINE

+
Timeline
+{{template "navigation.tmpl"}}
-- cgit v1.2.3