diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/error.tmpl | 2 | ||||
-rw-r--r-- | templates/navigation.tmpl | 6 | ||||
-rw-r--r-- | templates/timeline.tmpl | 2 |
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}} |