mirror of
https://github.com/imfing/hextra.git
synced 2025-08-23 11:56:48 -04:00
chore: move content to exampleSite
* update dev and build command chore: move contents to exampleSite chore: add configs to exampleSite chore: use tailwindcss/nesting * add postcss-import * move imports to the top chore: add config for theme dev chore: add compiled css chore: fix last updated issue chore: dont't ignore hugo_stats.json chore: update index page layout
This commit is contained in:
91
hugo.toml
91
hugo.toml
@@ -1,91 +0,0 @@
|
||||
# Hugo config
|
||||
title = "Hextra Theme"
|
||||
|
||||
baseURL = "https://example.org"
|
||||
|
||||
disableKinds = ["taxonomy", "term"]
|
||||
|
||||
defaultContentLanguage = 'en'
|
||||
[languages]
|
||||
[languages.en]
|
||||
languageName = 'English'
|
||||
weight = 1
|
||||
title = 'Hextra Theme'
|
||||
[languages.ja]
|
||||
languageName = '日本語'
|
||||
weight = 2
|
||||
title = 'Hextra テーマ'
|
||||
|
||||
[module]
|
||||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.115.1"
|
||||
[[module.mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
[[module.mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
||||
[[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"
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
[markup.highlight]
|
||||
noClasses = false
|
||||
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
name = 'Documentation'
|
||||
pageRef = '/docs'
|
||||
weight = 10
|
||||
[[menu.main]]
|
||||
name = 'Blog'
|
||||
pageRef = '/blog'
|
||||
weight = 20
|
||||
[[menu.main]]
|
||||
name = 'About'
|
||||
pageRef = '/about'
|
||||
weight = 30
|
||||
[[menu.main]]
|
||||
name = 'Search'
|
||||
weight = 35
|
||||
params = { type = 'search', placeholder = 'Search documentation...' }
|
||||
[[menu.main]]
|
||||
name = 'GitHub'
|
||||
url = 'https://github.com'
|
||||
weight = 40
|
||||
params = { icon = 'github' }
|
||||
|
||||
[[menu.sidebar]]
|
||||
name = 'More'
|
||||
params = { type = 'separator' }
|
||||
weight = 10
|
||||
[[menu.sidebar]]
|
||||
name = 'Hugo Docs ↗'
|
||||
url = 'https://gohugo.io/documentation/'
|
||||
weight = 20
|
||||
|
||||
[params]
|
||||
dateFormat = 'January 2, 2006'
|
||||
|
||||
displayUpdatedDate = true
|
Reference in New Issue
Block a user