Refactor config files for pagination and permalinks

Moved pagination settings to a separate pagination.yml file and updated permalinks.yml to enable custom post and page URLs. Cleaned up hugo.yml by removing inline pagination configuration.
This commit is contained in:
tiennm99 committed 2025-09-28 11:55:32 +07:00
1 parent 0746f6979c
commit fae07142c2
3 files changed
+3 -4

No files matched your search

-2
View File
@@ -4,8 +4,6 @@ theme: hugo-theme-stack
title: miti99
defaultContentLanguage: vi
hasCJKLanguage: false
pagination:
pagerSize: 5
timeout: 3600s
enableRobotsTXT: true
timeZone: Asia/Ho_Chi_Minh
+1
View File
@@ -0,0 +1 @@
pagerSize: 5
+2 -2
View File
@@ -1,2 +1,2 @@
#post: /p/:slug/
#page: /:slug/
post: /post/:slug/
page: /:slug/