diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html index 1a16497..616afdb 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,16 +8,15 @@ </section> <!-- pagination --> <nav class="pagination"> - {{- $lang := .Site.Data.even.default -}} {{ with $paginator.Prev }} <a class="prev" href="{{ .URL }}"> <i class="iconfont icon-left"></i> - <span class="prev-text">{{ $lang.posts.prev }}</span> + <span class="prev-text">{{ T "prevPage" }}</span> </a> {{- end }} {{ with $paginator.Next }} <a class="next" href="{{ .URL }}"> - <span class="next-text">{{ $lang.posts.next }}</span> + <span class="next-text">{{ T "nextPage" }}</span> <i class="iconfont icon-right"></i> </a> {{- end }} |