diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/followers.tmpl | 2 | ||||
-rw-r--r-- | templates/following.tmpl | 2 | ||||
-rw-r--r-- | templates/header.tmpl | 2 | ||||
-rw-r--r-- | templates/notification.tmpl | 2 | ||||
-rw-r--r-- | templates/search.tmpl | 2 | ||||
-rw-r--r-- | templates/timeline.tmpl | 4 | ||||
-rw-r--r-- | templates/user.tmpl | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/templates/followers.tmpl b/templates/followers.tmpl index 8102b26..44a303b 100644 --- a/templates/followers.tmpl +++ b/templates/followers.tmpl @@ -5,7 +5,7 @@ {{template "userlist.tmpl" (WithContext .Users $.Ctx)}} <div class="pagination"> - {{if .HasNext}} + {{if .NextLink}} <a href="{{.NextLink}}">next</a> {{end}} </div> diff --git a/templates/following.tmpl b/templates/following.tmpl index 43a60dc..50413d5 100644 --- a/templates/following.tmpl +++ b/templates/following.tmpl @@ -5,7 +5,7 @@ {{template "userlist.tmpl" (WithContext .Users $.Ctx)}} <div class="pagination"> - {{if .HasNext}} + {{if .NextLink}} <a href="{{.NextLink}}">next</a> {{end}} </div> diff --git a/templates/header.tmpl b/templates/header.tmpl index e6e7f0d..2889ead 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -8,7 +8,7 @@ <meta name="csrf_token" content="{{.CSRFToken}}"> {{end}} <title>{{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}}</title> - <link rel="stylesheet" href="/static/main.css"> + <link rel="stylesheet" href="/static/style.css"> {{if .CustomCSS}} <link rel="stylesheet" href="{{.CustomCSS}}"> {{end}} diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 86134ac..7d0e67c 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -65,7 +65,7 @@ {{end}} <div class="pagination"> - {{if .HasNext}} + {{if .NextLink}} <a href="{{.NextLink}}">next</a> {{end}} </div> diff --git a/templates/search.tmpl b/templates/search.tmpl index b4cd744..acbfbdd 100644 --- a/templates/search.tmpl +++ b/templates/search.tmpl @@ -31,7 +31,7 @@ {{end}} <div class="pagination"> - {{if .HasNext}} + {{if .NextLink}} <a href="{{.NextLink}}">next</a> {{end}} </div> diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl index aa951fc..0321c7f 100644 --- a/templates/timeline.tmpl +++ b/templates/timeline.tmpl @@ -10,10 +10,10 @@ {{end}} <div class="pagination"> - {{if .HasPrev}} + {{if .PrevLink}} <a href="{{.PrevLink}}">prev</a> {{end}} - {{if .HasNext}} + {{if .NextLink}} <a href="{{.NextLink}}">next</a> {{end}} </div> diff --git a/templates/user.tmpl b/templates/user.tmpl index abf22ec..bab24b2 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -56,7 +56,7 @@ {{end}} <div class="pagination"> - {{if .HasNext}} + {{if .NextLink}} <a href="{{.NextLink}}">next</a> {{end}} </div> |