switch to go module for theme
This commit is contained in:
parent
f2ea4c96f9
commit
b80306355f
3
.gitignore
vendored
3
.gitignore
vendored
@ -13,5 +13,6 @@ hugo.exe
|
|||||||
hugo.darwin
|
hugo.darwin
|
||||||
hugo.linux
|
hugo.linux
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/hugo
|
|
||||||
|
|
||||||
|
resources/*
|
||||||
|
node_modules/*
|
||||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
|||||||
[submodule "themes/toha"]
|
|
||||||
path = themes/toha
|
|
||||||
url = https://github.com/hugo-toha/toha.git
|
|
0
.hugo_build.lock
Normal file
0
.hugo_build.lock
Normal file
10
assets/jsconfig.json
Normal file
10
assets/jsconfig.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"*": [
|
||||||
|
"../../../../../tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/vincent!dcmps/toha/v4@v4.0.0-20230825142313-dee14ddff457/assets/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
53
config.yaml
53
config.yaml
@ -1,29 +1,48 @@
|
|||||||
---
|
---
|
||||||
baseURL: "https://www.ducamps.win/welcome"
|
baseURL: "https://www.ducamps.win/welcome"
|
||||||
languageCode: "fr-FR"
|
|
||||||
defaultContentLanguage: fr
|
defaultContentLanguage: fr
|
||||||
theme: "toha"
|
|
||||||
|
|
||||||
languages:
|
|
||||||
fr:
|
|
||||||
title: "Page d'accueil"
|
|
||||||
languageName: Français
|
|
||||||
weight: 1
|
|
||||||
en:
|
|
||||||
title: "Welcome Page"
|
|
||||||
languageName: English
|
|
||||||
weight: 2
|
|
||||||
|
|
||||||
enableEmoji: true
|
enableEmoji: true
|
||||||
|
languageCode: "fr-FR"
|
||||||
|
languages:
|
||||||
|
en:
|
||||||
|
languageName: English
|
||||||
|
title: "Welcome Page"
|
||||||
|
weight: 2
|
||||||
|
fr:
|
||||||
|
languageName: Français
|
||||||
|
title: "Page d'accueil"
|
||||||
|
weight: 1
|
||||||
|
|
||||||
|
|
||||||
|
module:
|
||||||
|
imports:
|
||||||
|
- path: github.com/hugo-toha/toha/v4
|
||||||
|
mounts:
|
||||||
|
- source: static/files
|
||||||
|
target: static/files
|
||||||
|
- source: ./node_modules/flag-icon-css/flags
|
||||||
|
target: static/flags
|
||||||
|
- source: ./node_modules/@fontsource/mulish/files
|
||||||
|
target: static/files
|
||||||
|
- source: ./node_modules/katex/dist/fonts
|
||||||
|
target: static/fonts
|
||||||
|
|
||||||
params:
|
params:
|
||||||
# GitHub repo URL of your site
|
# GitHub repo URL of your site
|
||||||
gitRepo: https://git.ducamps.win/vincent/welcome
|
background: "/images/background.jpg"
|
||||||
enableBlogPost: false
|
enableBlogPost: false
|
||||||
enableTOC: false
|
enableTOC: false
|
||||||
background: "/images/background.jpg"
|
features:
|
||||||
|
darkMode:
|
||||||
|
enable: true
|
||||||
|
services:
|
||||||
|
darkreader:
|
||||||
|
defaultColorScheme: system # options are 'system', 'dark', 'light'
|
||||||
|
|
||||||
|
gitRepo: https://git.ducamps.win/vincent/welcome
|
||||||
logo:
|
logo:
|
||||||
main: /images/logo.png
|
|
||||||
inverted: /images/logo-inverted.png
|
|
||||||
favicon: /images/logo-inverted.png
|
favicon: /images/logo-inverted.png
|
||||||
|
inverted: /images/logo-inverted.png
|
||||||
|
main: /images/logo.png
|
||||||
newsletter:
|
newsletter:
|
||||||
enable: false
|
enable: false
|
||||||
|
7
go.mod
Normal file
7
go.mod
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
module git.ducamps.win/vincent/welcome
|
||||||
|
|
||||||
|
go 1.20
|
||||||
|
|
||||||
|
replace github.com/hugo-toha/toha/v4 => github.com/vincentDcmps/toha/v4 v4.0.0-20230825142313-dee14ddff457
|
||||||
|
|
||||||
|
require github.com/hugo-toha/toha/v4 v4.0.0-20230825112223-cc0b95797932 // indirect
|
2
go.sum
Normal file
2
go.sum
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
github.com/vincentDcmps/toha/v4 v4.0.0-20230825142313-dee14ddff457 h1:D9Uq5vFkKCA9BWnTtjXo4YspZrvDB9EUmP4Ogn54898=
|
||||||
|
github.com/vincentDcmps/toha/v4 v4.0.0-20230825142313-dee14ddff457/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
|
4160
package-lock.json
generated
Normal file
4160
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
4
package.hugo.json
Normal file
4
package.hugo.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "welcome",
|
||||||
|
"version": "0.1.0"
|
||||||
|
}
|
62
package.json
Normal file
62
package.json
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"comments": {
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"@fontsource/mulish": "github.com/hugo-toha/toha/v4",
|
||||||
|
"@fortawesome/fontawesome-free": "github.com/hugo-toha/toha/v4",
|
||||||
|
"autoprefixer": "github.com/hugo-toha/toha/v4",
|
||||||
|
"bootstrap": "github.com/hugo-toha/toha/v4",
|
||||||
|
"darkreader": "github.com/hugo-toha/toha/v4",
|
||||||
|
"eslint": "github.com/hugo-toha/toha/v4",
|
||||||
|
"eslint-config-prettier": "github.com/hugo-toha/toha/v4",
|
||||||
|
"eslint-config-standard": "github.com/hugo-toha/toha/v4",
|
||||||
|
"eslint-plugin-import": "github.com/hugo-toha/toha/v4",
|
||||||
|
"eslint-plugin-n": "github.com/hugo-toha/toha/v4",
|
||||||
|
"eslint-plugin-no-jquery": "github.com/hugo-toha/toha/v4",
|
||||||
|
"eslint-plugin-promise": "github.com/hugo-toha/toha/v4",
|
||||||
|
"filterizr": "github.com/hugo-toha/toha/v4",
|
||||||
|
"flag-icon-css": "github.com/hugo-toha/toha/v4",
|
||||||
|
"fuse.js": "github.com/hugo-toha/toha/v4",
|
||||||
|
"highlight.js": "github.com/hugo-toha/toha/v4",
|
||||||
|
"imagesloaded": "github.com/hugo-toha/toha/v4",
|
||||||
|
"ityped": "github.com/hugo-toha/toha/v4",
|
||||||
|
"katex": "github.com/hugo-toha/toha/v4",
|
||||||
|
"mark.js": "github.com/hugo-toha/toha/v4",
|
||||||
|
"mermaid": "github.com/hugo-toha/toha/v4",
|
||||||
|
"plyr": "github.com/hugo-toha/toha/v4",
|
||||||
|
"popper.js": "github.com/hugo-toha/toha/v4",
|
||||||
|
"postcss": "github.com/hugo-toha/toha/v4",
|
||||||
|
"postcss-cli": "github.com/hugo-toha/toha/v4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"@fontsource/mulish": "4.5.13",
|
||||||
|
"@fortawesome/fontawesome-free": "^6.2.0",
|
||||||
|
"autoprefixer": "^10.4.13",
|
||||||
|
"bootstrap": "^4.6.2",
|
||||||
|
"darkreader": "^4.9.58",
|
||||||
|
"eslint": "^8.31.0",
|
||||||
|
"eslint-config-prettier": "^8.6.0",
|
||||||
|
"eslint-config-standard": "^17.0.0",
|
||||||
|
"eslint-plugin-import": "^2.26.0",
|
||||||
|
"eslint-plugin-n": "^15.6.0",
|
||||||
|
"eslint-plugin-no-jquery": "^2.7.0",
|
||||||
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
|
"filterizr": "^2.2.4",
|
||||||
|
"flag-icon-css": "^4.1.7",
|
||||||
|
"fuse.js": "^6.6.2",
|
||||||
|
"highlight.js": "^11.6.0",
|
||||||
|
"imagesloaded": "^5.0.0",
|
||||||
|
"ityped": "^1.0.3",
|
||||||
|
"katex": "^0.16.3",
|
||||||
|
"mark.js": "^8.11.1",
|
||||||
|
"mermaid": "^9.2.1",
|
||||||
|
"plyr": "^3.7.2",
|
||||||
|
"popper.js": "^1.16.1",
|
||||||
|
"postcss": "^8.4.21",
|
||||||
|
"postcss-cli": "^8.3.1"
|
||||||
|
},
|
||||||
|
"name": "welcome",
|
||||||
|
"version": "0.1.0"
|
||||||
|
}
|
@ -1 +0,0 @@
|
|||||||
Subproject commit bd10f18553fd29963e29b27758deb487f848a80e
|
|
Loading…
Reference in New Issue
Block a user