Skip to content

Commit 1b66950

Browse files
authored
Merge pull request #1172 from gethyas/restructure
Restructures dependencies+
2 parents ba3962a + a6b7491 commit 1b66950

File tree

91 files changed

+188
-182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+188
-182
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
assets/js/vendor
21
node_modules

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ public
33
resources
44
.netlify
55
.hugo_build.lock
6-
yarn-error.log
6+
yarn-error.log
7+
hugo_stats.json

.stylelintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
assets/scss/vendor
1+
assets/scss/common/_variables-custom.scss
22
node_modules

.stylelintrc.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"extends": "stylelint-config-standard-scss",
33
"rules": {
44
"no-empty-source": null,
5-
"string-quotes": "double",
65
"scss/comment-no-empty": null,
7-
"max-line-length": null,
86
"scss/at-extend-no-missing-placeholder": null,
97
"at-rule-no-unknown": [
108
true,

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Hyas
3+
Copyright (c) 2020-2024 Hyas
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

assets/js/custom.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Put your custom JS code here

assets/svgs/.gitkeep

Whitespace-only changes.

config/_default/hugo.toml

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ disableAliases = true
55
disableHugoGeneratorInject = true
66
# disableKinds = ["taxonomy", "term"]
77
enableEmoji = true
8-
enableGitInfo = true
8+
enableGitInfo = false
99
enableRobotsTXT = true
1010
languageCode = "en-US"
1111
paginate = 10
@@ -17,14 +17,11 @@ defaultContentLanguage = "en"
1717
disableLanguages = ["de", "nl"]
1818
defaultContentLanguageInSubdir = false
1919

20-
copyRight = "Copyright (c) 2020-2023 Henk Verlinde"
20+
copyRight = "Copyright (c) 2020-2024 Hyas"
2121

2222
[build.buildStats]
2323
enable = true
2424

25-
[social]
26-
twitter = "getdoks"
27-
2825
[outputs]
2926
home = ["HTML", "RSS", "searchIndex"]
3027
section = ["HTML", "RSS", "SITEMAP"]
@@ -37,12 +34,12 @@ copyRight = "Copyright (c) 2020-2023 Henk Verlinde"
3734

3835
# Add output format for section sitemap.xml
3936
[outputFormats.SITEMAP]
40-
mediaType = "application/xml"
41-
baseName = "sitemap"
42-
isHTML = false
43-
isPlainText = true
44-
noUgly = true
45-
rel = "sitemap"
37+
mediaType = "application/xml"
38+
baseName = "sitemap"
39+
isHTML = false
40+
isPlainText = true
41+
noUgly = true
42+
rel = "sitemap"
4643

4744
[sitemap]
4845
changefreq = "monthly"
@@ -52,7 +49,7 @@ rel = "sitemap"
5249
[caches]
5350
[caches.getjson]
5451
dir = ":cacheDir/:project"
55-
maxAge = "30m"
52+
maxAge = -1 # "30m"
5653

5754
[taxonomies]
5855
contributor = "contributors"
@@ -72,18 +69,18 @@ rel = "sitemap"
7269
includeNewer = true
7370
toLower = false
7471
[[related.indices]]
75-
name = "categories"
76-
weight = 100
72+
name = "categories"
73+
weight = 100
7774
[[related.indices]]
78-
name = "tags"
79-
weight = 80
75+
name = "tags"
76+
weight = 80
8077
[[related.indices]]
81-
name = "date"
82-
weight = 10
78+
name = "date"
79+
weight = 10
8380

8481
[imaging]
85-
anchor = "Smart"
82+
anchor = "Center"
8683
bgColor = "#ffffff"
8784
hint = "photo"
88-
quality = 75
89-
resampleFilter = "Box"
85+
quality = 85
86+
resampleFilter = "Lanczos"

config/_default/menus.toml

Lines changed: 0 additions & 14 deletions
This file was deleted.

config/_default/module.toml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,6 @@
2121
[[mounts]]
2222
source = "node_modules/@hyas/doks-core/assets"
2323
target = "assets"
24-
excludeFiles = ["scss/common/_variables-custom.scss", "scss/common/_custom.scss"]
25-
26-
[[mounts]]
27-
source = "node_modules/flexsearch"
28-
target = "assets/js/vendor/flexsearch"
29-
30-
[[mounts]]
31-
source = "node_modules/katex"
32-
target = "assets/js/vendor/katex"
33-
34-
[[mounts]]
35-
source = "node_modules/mermaid"
36-
target = "assets/js/vendor/mermaid"
3724

3825
[[mounts]]
3926
source = "node_modules/@tabler/icons/icons"
@@ -53,10 +40,6 @@
5340
source = "node_modules/@hyas/doks-core/data"
5441
target = "data"
5542

56-
[[mounts]]
57-
source = "config/_default/hyas"
58-
target = "data"
59-
6043
[[mounts]]
6144
source = "data"
6245
target = "data"
@@ -102,4 +85,4 @@
10285

10386
[[mounts]]
10487
source = "static"
105-
target = "static"
88+
target = "static"

0 commit comments

Comments
 (0)