chore: auto detect theme name
This commit is contained in:
parent
efbf16bac6
commit
b48d4aa974
|
@ -4,8 +4,8 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"dev": "hugo server -D --disableFastRender --source=exampleSite --themesDir=../.. --theme=holy",
|
"dev": "hugo server -D --disableFastRender --source=exampleSite --themesDir=../.. --theme=${PWD##*/}",
|
||||||
"build": "hugo --source=exampleSite --themesDir=../.. --theme=holy"
|
"build": "hugo --source=exampleSite --themesDir=../.. --theme=${PWD##*/}"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue