summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-22 01:09:19 +0800
committerReorx <novoreorx@gmail.com>2022-04-22 01:13:25 +0800
commit4d93247e53eadc672416f33429c5af0ff334e5e8 (patch)
treeff2eafc0398cc44d8c1755414bacb6f5bc5b1997 /layouts/partials
parent7d6dfd7ebc437a776e6f67097d52b2d941d90008 (diff)
change post nav and footer style
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/post_nav_links.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/layouts/partials/post_nav_links.html b/layouts/partials/post_nav_links.html
index b988641..2d1eaa9 100644
--- a/layouts/partials/post_nav_links.html
+++ b/layouts/partials/post_nav_links.html
@@ -3,14 +3,19 @@
<nav class="paginav">
{{- with $pages.Next . }}
<a class="prev" href="{{ .Permalink }}">
- <span class="title">« {{ i18n "prev_page" }}</span>
+ <span class="title">
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left" style="user-select: text;"><line x1="19" y1="12" x2="5" y2="12" style="user-select: text;"></line><polyline points="12 19 5 12 12 5" style="user-select: text;"></polyline></svg>&nbsp;
+ {{- i18n "prev_page" }}</span>
<br>
<span>{{- .Name -}}</span>
</a>
{{- end }}
{{- with $pages.Prev . }}
<a class="next" href="{{ .Permalink }}">
- <span class="title">{{ i18n "next_page" }} »</span>
+ <span class="title">
+ {{- i18n "next_page" -}}
+ &nbsp;<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right" style="user-select: text;"><line x1="5" y1="12" x2="19" y2="12" style="user-select: text;"></line><polyline points="12 5 19 12 12 19" style="user-select: text;"></polyline></svg>
+ </span>
<br>
<span>{{- .Name -}}</span>
</a>