feat: restructure dependencies+
This commit is contained in:
@ -5,7 +5,7 @@ disableAliases = true
|
||||
disableHugoGeneratorInject = true
|
||||
# disableKinds = ["taxonomy", "term"]
|
||||
enableEmoji = true
|
||||
enableGitInfo = true
|
||||
enableGitInfo = false
|
||||
enableRobotsTXT = true
|
||||
languageCode = "en-US"
|
||||
paginate = 10
|
||||
@ -17,14 +17,11 @@ defaultContentLanguage = "en"
|
||||
disableLanguages = ["de", "nl"]
|
||||
defaultContentLanguageInSubdir = false
|
||||
|
||||
copyRight = "Copyright (c) 2020-2023 Henk Verlinde"
|
||||
copyRight = "Copyright (c) 2020-2024 Hyas"
|
||||
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
|
||||
[social]
|
||||
twitter = "getdoks"
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "searchIndex"]
|
||||
section = ["HTML", "RSS", "SITEMAP"]
|
||||
@ -37,12 +34,12 @@ copyRight = "Copyright (c) 2020-2023 Henk Verlinde"
|
||||
|
||||
# Add output format for section sitemap.xml
|
||||
[outputFormats.SITEMAP]
|
||||
mediaType = "application/xml"
|
||||
baseName = "sitemap"
|
||||
isHTML = false
|
||||
isPlainText = true
|
||||
noUgly = true
|
||||
rel = "sitemap"
|
||||
mediaType = "application/xml"
|
||||
baseName = "sitemap"
|
||||
isHTML = false
|
||||
isPlainText = true
|
||||
noUgly = true
|
||||
rel = "sitemap"
|
||||
|
||||
[sitemap]
|
||||
changefreq = "monthly"
|
||||
@ -52,7 +49,7 @@ rel = "sitemap"
|
||||
[caches]
|
||||
[caches.getjson]
|
||||
dir = ":cacheDir/:project"
|
||||
maxAge = "30m"
|
||||
maxAge = -1 # "30m"
|
||||
|
||||
[taxonomies]
|
||||
contributor = "contributors"
|
||||
@ -72,18 +69,18 @@ rel = "sitemap"
|
||||
includeNewer = true
|
||||
toLower = false
|
||||
[[related.indices]]
|
||||
name = "categories"
|
||||
weight = 100
|
||||
name = "categories"
|
||||
weight = 100
|
||||
[[related.indices]]
|
||||
name = "tags"
|
||||
weight = 80
|
||||
name = "tags"
|
||||
weight = 80
|
||||
[[related.indices]]
|
||||
name = "date"
|
||||
weight = 10
|
||||
name = "date"
|
||||
weight = 10
|
||||
|
||||
[imaging]
|
||||
anchor = "Smart"
|
||||
anchor = "Center"
|
||||
bgColor = "#ffffff"
|
||||
hint = "photo"
|
||||
quality = 75
|
||||
resampleFilter = "Box"
|
||||
quality = 85
|
||||
resampleFilter = "Lanczos"
|
||||
|
@ -1,14 +0,0 @@
|
||||
[[main]]
|
||||
name = "GitHub"
|
||||
url = "https://github.com/h-enk/hyas"
|
||||
weight = 10
|
||||
|
||||
[[social]]
|
||||
name = "LinkedIn"
|
||||
url = "https://www.linkedin.com/in/henkverlinde/"
|
||||
weight = 20
|
||||
|
||||
[[social]]
|
||||
name = "Twitter"
|
||||
url = "https://twitter.com/henkverlinde"
|
||||
weight = 30
|
@ -21,19 +21,6 @@
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/assets"
|
||||
target = "assets"
|
||||
excludeFiles = ["scss/common/_variables-custom.scss", "scss/common/_custom.scss"]
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/flexsearch"
|
||||
target = "assets/js/vendor/flexsearch"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/katex"
|
||||
target = "assets/js/vendor/katex"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/mermaid"
|
||||
target = "assets/js/vendor/mermaid"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@tabler/icons/icons"
|
||||
@ -53,10 +40,6 @@
|
||||
source = "node_modules/@hyas/doks-core/data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "config/_default/hyas"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "data"
|
||||
target = "data"
|
||||
@ -102,4 +85,4 @@
|
||||
|
||||
[[mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
||||
target = "static"
|
||||
|
@ -3,6 +3,12 @@ title = "My Docs"
|
||||
description = "Congrats on setting up a new Doks project!"
|
||||
images = ["cover.png"]
|
||||
|
||||
# mainSections
|
||||
mainSections = ["docs"]
|
||||
|
||||
[social]
|
||||
twitter = "getdoks"
|
||||
|
||||
# Doks (@hyas/doks-core)
|
||||
[doks]
|
||||
# Color mode
|
||||
@ -64,9 +70,6 @@ images = ["cover.png"]
|
||||
imageList = true # true (default) or false
|
||||
imageSingle = true # true (default) or false
|
||||
|
||||
# KaTex
|
||||
katex = false
|
||||
|
||||
# Repository
|
||||
editPage = false # false (default) or true
|
||||
lastMod = false # false (default) or true
|
||||
|
@ -42,12 +42,22 @@ module.exports = {
|
||||
'show',
|
||||
'img-fluid',
|
||||
'blur-up',
|
||||
'lazyload',
|
||||
'lazyloaded',
|
||||
'alert-link',
|
||||
'container-fw ',
|
||||
'container-lg',
|
||||
'container-fluid',
|
||||
'offcanvas-backdrop',
|
||||
'figcaption',
|
||||
'dt',
|
||||
'dd',
|
||||
'showing',
|
||||
'hiding',
|
||||
'page-item',
|
||||
'page-link',
|
||||
...whitelister([
|
||||
'./assets/scss/**/*.css',
|
||||
'./assets/scss/**/*.scss',
|
||||
// './node_modules/katex/dist/katex.css',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/components/_code.scss',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/components/_expressive-code.scss',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/common/_syntax.scss',
|
||||
|
Reference in New Issue
Block a user