mirror of
https://github.com/imfing/hextra.git
synced 2025-07-13 11:31:29 -04:00
hugo init
chore: add .gitignore feat: add hugo configs chore: initialize npm feat: add hugo tailwind starter site chore: add basic taskfile chore: add README.md feat: add 404 template chore: add .prettierrc chore: update hugo.toml feat: add icons and icon.html partial
This commit is contained in:
47
hugo.toml
Normal file
47
hugo.toml
Normal file
@ -0,0 +1,47 @@
|
||||
# Hugo config
|
||||
title = "Hextra Theme"
|
||||
|
||||
baseURL = "https://example.org"
|
||||
|
||||
disableKinds = ["taxonomy", "term"]
|
||||
|
||||
[module]
|
||||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.115.1"
|
||||
[[module.mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
[[module.mounts]]
|
||||
source = "hugo_stats.json"
|
||||
target = "assets/watching/hugo_stats.json"
|
||||
|
||||
[build]
|
||||
writeStats = true
|
||||
[[build.cachebusters]]
|
||||
source = "assets/watching/hugo_stats\\.json"
|
||||
target = "styles\\.css"
|
||||
[[build.cachebusters]]
|
||||
source = "(postcss|tailwind)\\.config\\.js"
|
||||
target = "css"
|
||||
[[build.cachebusters]]
|
||||
source = "assets/.*\\.(js|ts|jsx|tsx)"
|
||||
target = "js"
|
||||
[[build.cachebusters]]
|
||||
source = "assets/.*\\.(.*)$"
|
||||
target = "$1"
|
||||
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
name = 'Documentation'
|
||||
pageRef = '/docs'
|
||||
weight = 10
|
||||
[[menu.main]]
|
||||
name = 'Showcase'
|
||||
pageRef = '/showcase'
|
||||
weight = 20
|
||||
[[menu.main]]
|
||||
name = 'About'
|
||||
pageRef = '/about'
|
||||
weight = 30
|
Reference in New Issue
Block a user