Files
blog/config/_default/hugo.yml
tiennm99 c965656cb5 feat(redirects): send old Stack URLs to their tsuki URLs
Generate a Cloudflare Pages _redirects file with 301s from the old
/post/YYYY/MM/DD/ post URLs and the old pagination pages. The rules are
temporary and marked for removal once the old URLs stop getting traffic.
2026-10-04 11:03:20 +07:00

28 lines
758 B
YAML

baseurl: https://miti99.com/
languageCode: vi
theme: tsuki
title: miti99
defaultContentLanguage: vi
hasCJKLanguage: false
enableRobotsTXT: true
timeZone: Asia/Ho_Chi_Minh
enableGitInfo: true
# TEMPORARY (added 2026-10-04): Cloudflare Pages `_redirects` file that sends
# the old Stack-theme URLs (/post/YYYY/MM/DD/, home pagination /page/N/) to
# their tsuki URLs. Remove this block and layouts/home.redirects together once
# the old URLs no longer get traffic (review at 3, 6 or 12 months after the
# migration ships).
mediaTypes:
text/redirects:
delimiter: ""
suffixes: [""]
outputFormats:
redirects:
baseName: _redirects
mediaType: text/redirects
isPlainText: true
notAlternative: true
outputs:
home: [html, rss, redirects]