mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
75ee1624bd
* feat(external-link-guard): add native redirect mode and improve external-link guard UX * fix(external-link-guard): remove redirect_url and clarify scope/new_tab_policy docs * i18n(external-link-guard): localize guard texts across non-English locales * feat(config)!: migrate `site.Params.externalIcon` to `site.Params.link.external_icon` * refactor: implement regular and card link rendering * feat(link-guard): implement link redirection page with copy and confirm functionality * revert * feat: implement link guard dialog for external links --------- Co-authored-by: Cell <1024@lruihao.cn>
56 lines
1.5 KiB
TOML
56 lines
1.5 KiB
TOML
# -------------------------------------------------------------------------------------
|
|
# Hugo Configuration
|
|
# See: https://gohugo.io/configuration/all/
|
|
# -------------------------------------------------------------------------------------
|
|
|
|
title = "Hugo FixIt TEST"
|
|
baseURL = "https://demo.fixit.lruihao.cn/test/"
|
|
ignoreLogs = [ "warning-file-tree" ]
|
|
|
|
[permalinks]
|
|
|
|
[permalinks.page]
|
|
posts = "/units/:slugorcontentbasename"
|
|
|
|
[permalinks.section]
|
|
posts = "/units/"
|
|
|
|
[markup]
|
|
_merge = "shallow"
|
|
|
|
[outputs]
|
|
_merge = "shallow"
|
|
|
|
# -------------------------------------------------------------------------------------
|
|
# Taxonomies Configuration
|
|
# See: https://gohugo.io/content-management/taxonomies/#configure-taxonomies
|
|
# -------------------------------------------------------------------------------------
|
|
|
|
[taxonomies]
|
|
_merge = "shallow"
|
|
|
|
# -------------------------------------------------------------------------------------
|
|
# Theme Core Configuration
|
|
# See: https://fixit.lruihao.cn/documentation/basics/#theme-configuration
|
|
# -------------------------------------------------------------------------------------
|
|
|
|
[params]
|
|
version = "0.3.X"
|
|
|
|
[params.page]
|
|
collectionList = true
|
|
collectionNavigation = true
|
|
|
|
[params.author]
|
|
name = "Lruihao"
|
|
email = ""
|
|
link = "https://lruihao.cn"
|
|
avatar = "https://lruihao.cn/images/avatar.jpg"
|
|
|
|
[params.mermaid]
|
|
zenuml = "https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-zenuml/dist/mermaid-zenuml.esm.min.mjs"
|
|
|
|
[params.dev]
|
|
enable = true
|
|
debug = true
|