diff --git a/i18n/en.yaml b/i18n/en.yaml index f1f834c..fc85605 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -54,3 +54,9 @@ readNext: lastMod: other: "Last modified:" + +toNewPost: + other: "to new post" + +toOldPost: + other: "to old post" \ No newline at end of file diff --git a/i18n/ru.yaml b/i18n/ru.yaml index 6ca2673..e0c70c9 100644 --- a/i18n/ru.yaml +++ b/i18n/ru.yaml @@ -51,3 +51,9 @@ readNext: lastMod: other: "Отредактировано:" + +toNewPost: + other: "к новой записи" + +toOldPost: + other: "к старой записи" \ No newline at end of file diff --git a/layouts/partials/post-pagination.html b/layouts/partials/post-pagination.html index 2130181..a589362 100644 --- a/layouts/partials/post-pagination.html +++ b/layouts/partials/post-pagination.html @@ -1,13 +1,15 @@ {{ if or ( .PrevInSection ) ( .NextInSection ) }} + {{ $toNewPostMessage := i18n "toNewPost" }} + {{ $toOldPostMessage := i18n "toOldPost" }}