mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 03:13:10 +00:00
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:
1 parent
0746f6979c
commit
fae07142c2
3 files changed
+3
-4
No files matched your search
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
pagerSize: 5
|
||||
@@ -1,2 +1,2 @@
|
||||
#post: /p/:slug/
|
||||
#page: /:slug/
|
||||
post: /post/:slug/
|
||||
page: /:slug/
|
||||
Reference in new issue
Block a user