Skip to content

Commit 0032824

Browse files
authored
Updating Npm run build preview
Updating npm run build-preview
2 parents b9d89e5 + 535eb24 commit 0032824

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hugo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
###################### default configuration ####################
22
# The base URL of your site (required). This will be prepended to all relative URLs.
3-
baseURL = "https://open-neuromorphic.org"
4-
#baseURL = "https://neural-loop.github.io/open-neuromorphic.github.io/"
3+
# baseURL = "https://open-neuromorphic.org"
4+
baseURL = "/"
55
# Title of your website (required).
66
title = "Open Neuromorphic"
77

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"dev": "hugo serve --buildFuture",
99
"build": "rm public -fr && hugo --gc --minify --buildFuture --templateMetrics --templateMetricsHints --forceSyncStatic",
10-
"build-test": "hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --forceSyncStatic -e production --minify",
10+
"build-preview": "hugo server --disableFastRender --buildFuture --navigateToChanged --templateMetrics --templateMetricsHints --forceSyncStatic -e production --minify",
1111
"update-modules": "node ./scripts/clearModules.js && hugo mod clean --all && hugo mod get -u ./... && hugo mod tidy",
1212
"remove-darkmode": "node ./scripts/removeDarkmode.js && yarn format",
1313
"project-setup": "node ./scripts/projectSetup.js",

0 commit comments

Comments
 (0)