Skip to content

Commit 7262e60

Browse files
committed
fix: Remove pagination website url
1 parent 4694c9b commit 7262e60

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

templates/archives.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
class="rounded border border-[#686B74] py-2 px-3 text-sm tabular-nums text-[#686B74] hover:border-[#3296ef] hover:bg-[#3296ef] hover:text-white"
4949
x-text="item"
5050
:class="{'border-[#3296ef] bg-[#3296ef] text-white':page===item}"
51-
th:attr="'x-bind:href'=|'${site.url}/archives/page/'+item|"
51+
th:attr="'x-bind:href'=|'/archives/page/'+item|"
5252
>
5353
</a>
5454
</template>

templates/category.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
class="rounded border border-[#686B74] py-2 px-3 text-sm tabular-nums text-[#686B74] hover:border-[#3296ef] hover:bg-[#3296ef] hover:text-white"
4545
x-text="item"
4646
:class="{'border-[#3296ef] bg-[#3296ef] text-white':page===item}"
47-
th:attr="'x-bind:href'=|'${site.url}/categories/${category.spec.slug}/page/'+item|"
47+
th:attr="'x-bind:href'=|'/categories/${category.spec.slug}/page/'+item|"
4848
>
4949
</a>
5050
</template>

templates/tag.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
class="rounded border border-[#686B74] py-2 px-3 text-sm tabular-nums text-[#686B74] hover:border-[#3296ef] hover:bg-[#3296ef] hover:text-white"
4747
x-text="item"
4848
:class="{'border-[#3296ef] bg-[#3296ef] text-white':page===item}"
49-
th:attr="'x-bind:href'=|'${site.url}/tags/${tag.spec.slug}/page/'+item|"
49+
th:attr="'x-bind:href'=|'/tags/${tag.spec.slug}/page/'+item|"
5050
>
5151
</a>
5252
</template>

theme.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ spec:
1313
repo: https://github.com/f2ccloud/theme-ocean.git
1414
settingName: "theme-ocean-setting"
1515
configMapName: "theme-ocean-configMap"
16-
version: 1.2.0
16+
version: 1.2.1
1717
require: 2.0.0

0 commit comments

Comments
 (0)