diff --git a/layouts/index.html b/layouts/index.html index 07e2292..058ed89 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -10,30 +10,30 @@ {{ define "pagination" }} {{ if .Paginator.HasPrev }}
  • - Previous + Previous
  • {{ else }}
  • - Previous + Previous
  • {{ end }} {{ $current_num := .Paginator.PageNumber }} {{ range (seq 1 .Paginator.TotalPages) }} {{ if (eq $current_num .)}} -
  • {{.}}
  • +
  • {{.}}
  • {{ else }} -
  • {{.}}
  • +
  • {{.}}
  • {{ end }} {{end}} {{ if .Paginator.HasNext }}
  • - Next + Next
  • {{ else }}
  • - Next + Next
  • {{ end }} {{ end }} \ No newline at end of file