diff options
-rw-r--r-- | tpl/tplimpl/embedded/templates/pagination.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/tplimpl/embedded/templates/pagination.html b/tpl/tplimpl/embedded/templates/pagination.html index 1c2d2d82f..896e655fe 100644 --- a/tpl/tplimpl/embedded/templates/pagination.html +++ b/tpl/tplimpl/embedded/templates/pagination.html @@ -7,7 +7,7 @@ </li> {{ end }} <li class="page-item{{ if not $pag.HasPrev }} disabled{{ end }}"> - <a href="{{ if $pag.HasPrev }}{{ $pag.Prev.URL }}{{ end }}" class="page-link" aria-label="Previous"><span aria-hidden="true">«</span></a> + <a {{ if $pag.HasPrev }}href="{{ $pag.Prev.URL }}"{{ end }} class="page-link" aria-label="Previous"><span aria-hidden="true">«</span></a> </li> {{ $ellipsed := false }} {{ $shouldEllipse := false }} @@ -29,7 +29,7 @@ {{ end }} {{ end }} <li class="page-item{{ if not $pag.HasNext }} disabled{{ end }}"> - <a href="{{ if $pag.HasNext }}{{ $pag.Next.URL }}{{ end }}" class="page-link" aria-label="Next"><span aria-hidden="true">»</span></a> + <a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">»</span></a> </li> {{ with $pag.Last }} <li class="page-item"> @@ -37,4 +37,4 @@ </li> {{ end }} </ul> -{{ end }}
\ No newline at end of file +{{ end }} |