diff options
Diffstat (limited to 'static/nposts.html')
-rw-r--r-- | static/nposts.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/nposts.html b/static/nposts.html index 46d8bb1..998152e 100644 --- a/static/nposts.html +++ b/static/nposts.html @@ -43,17 +43,17 @@ <ul style="float: right; margin: 0; padding: 0; display: inline"> {{ $page := .CurrentPage }} {{ if gt $page 0 }} - <li style="display: inline"><a href="/{{ $board.Name }}?page={{ sub $page 1 }}">[ < ]</a></li> + <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ sub $page 1 }}"><</a>]</li> {{ end }} {{ range $i, $e := .Pages }} {{ if eq $i $page}} - <li style="display: inline"><a href="/{{ $board.Name }}?page={{ $i }}"><b>[{{ $i }}]</b></a></li> + <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ $i }}"><b>{{ $i }}</b></a>]</li> {{ else }} - <li style="display: inline"><a href="/{{ $board.Name }}?page={{ $i }}">[{{ $i }}]</a></li> + <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ $i }}">{{ $i }}</a>]</li> {{ end }} {{ end }} {{ if lt .CurrentPage .TotalPage }} - <li style="display: inline"><a href="/{{ $board.Name }}?page={{ add $page 1 }}">[ > ]</a></li> + <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ add $page 1 }}">></a>]</li> {{ end }} </ul> {{ end }} |