Skip to content
Snippets Groups Projects
Commit 7a715e23 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

theme

parent adcf918a
No related branches found
No related tags found
No related merge requests found
......@@ -25,17 +25,13 @@ if (command === "watch") {
if (command === "dev") {
shell.exec("hugo");
shell.exec("cd ./themes/osuny-hugo-theme-aaa");
shell.exec("npx pagefind --site ../../public --output-subdir ../static/pagefind");
shell.exec("cd ../..");
shell.exec("npx pagefind --site public --output-subdir ../static/pagefind");
shell.exec("hugo server");
}
if (command === "build") {
shell.exec("hugo");
shell.exec("cd ./themes/osuny-hugo-theme-aaa");
shell.exec("npm_config_yes=true npx pagefind --site ../../public");
shell.exec("cd ../..");
shell.exec("npm_config_yes=true npx pagefind --site public");
}
if (command === "update") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment