aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-25 04:30:21 +0000
committerr <r@freesoftwareextremist.com>2019-12-25 04:30:21 +0000
commitf6f7b27e40f97ffe88323be01bea1d04ca39d6b0 (patch)
tree2aad7592cc20bc9d1d59e5e9da5d83b1d15774cc /templates
parent51bdb20402abc08102e83a234bb4f6720c5a1166 (diff)
downloadbloat-f6f7b27e40f97ffe88323be01bea1d04ca39d6b0.tar.gz
bloat-f6f7b27e40f97ffe88323be01bea1d04ca39d6b0.zip
Add local and twkn timelines
Diffstat (limited to 'templates')
-rw-r--r--templates/error.tmpl2
-rw-r--r--templates/navigation.tmpl6
-rw-r--r--templates/timeline.tmpl2
3 files changed, 6 insertions, 4 deletions
diff --git a/templates/error.tmpl b/templates/error.tmpl
index 890b5a7..d4bd817 100644
--- a/templates/error.tmpl
+++ b/templates/error.tmpl
@@ -2,7 +2,7 @@
<div class="page-title"> Error </div>
<div class="error-text"> {{.}} </div>
<div>
-<a href="/timeline">Home</a>
+<a href="/timeline/home">Home</a>
<a href="/signin">Sign In</a>
</div>
{{template "footer.tmpl"}}
diff --git a/templates/navigation.tmpl b/templates/navigation.tmpl
index 0e745a2..bd97d2d 100644
--- a/templates/navigation.tmpl
+++ b/templates/navigation.tmpl
@@ -1,6 +1,6 @@
<div class="user-info">
<div class="user-info-img-container">
- <a class="img-link" href="/timeline" title="home">
+ <a class="img-link" href="/timeline/home" title="home">
<img class="user-info-img" src="{{.User.AvatarStatic}}" alt="profile-avatar" />
</a>
</div>
@@ -12,8 +12,10 @@
</a>
</div>
<div>
- <a class="nav-link" href="/timeline">home</a>
+ <a class="nav-link" href="/timeline/home">home</a>
<a class="nav-link" href="/notifications">notifications{{if gt .NotificationCount 0}}({{.NotificationCount}}){{end}}</a>
+ <a class="nav-link" href="/timeline/local">local</a>
+ <a class="nav-link" href="/timeline/twkn">twkn</a>
<a class="nav-link" href="/about">about</a>
</div>
<div>
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl
index 6280e65..5bff2d0 100644
--- a/templates/timeline.tmpl
+++ b/templates/timeline.tmpl
@@ -1,6 +1,6 @@
{{template "header.tmpl"}}
{{template "navigation.tmpl" .NavbarData}}
-<div class="page-title"> Timeline </div>
+<div class="page-title"> {{.Title}} </div>
{{template "postform.tmpl" .PostContext}}