Commit 2afcee0

HPCesia <me@hpcesia.com>
2025-05-02 07:28:21
feat: add rel attributes for pagination buttons
1 parent 2150165
Changed files (1)
src
components
src/components/widgets/Pagination.astro
@@ -55,6 +55,7 @@ else {
           href={getPageUrl(current - 1)}
           title={i18n(I18nKey.prevPage)}
           aria-label={i18n(I18nKey.prevPage)}
+          rel="prev"
         >
           <Icon name="material-symbols:chevron-left-rounded" class="my-1 text-2xl" />
         </Button>
@@ -115,6 +116,7 @@ else {
           href={getPageUrl(current + 1)}
           title={i18n(I18nKey.nextPage)}
           aria-label={i18n(I18nKey.nextPage)}
+          rel="next"
         >
           <Icon name="material-symbols:chevron-right-rounded" class="my-1 text-2xl" />
         </Button>