🐛 Fix: remove symbolic links of themes

fixed #419
This commit is contained in:
Cell
2024-02-22 10:17:31 +08:00
parent 551938f0b4
commit 002ebda06f
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
title = "My Hugo FixIt Site"
baseURL = "http://example.org/"
# Change the default theme to be use when building the site with Hugo
theme = "FixIt"
# theme = "FixIt"
[markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
-1
View File
@@ -1 +0,0 @@
../..
+2 -2
View File
@@ -19,8 +19,8 @@
"license": "MIT",
"author": "Lruihao (https://lruihao.cn)",
"scripts": {
"build": "hugo -v --source=demo --gc --minify",
"server": "hugo server --source=demo -D --disableFastRender --navigateToChanged --ignoreCache --bind 0.0.0.0",
"build": "hugo --source=demo --themesDir ../.. --theme $PWD --gc --minify --logLevel info",
"server": "hugo server --source=demo --themesDir ../.. --theme $PWD -D --disableFastRender --navigateToChanged --ignoreCache --bind 0.0.0.0",
"server:production": "npm run server -- -e production",
"server:docs": "hugo server --source=../fixit-docs -D --disableFastRender --navigateToChanged --ignoreCache --bind 0.0.0.0",
"version": "sed -i '' \"s/v$npm_package_version-RC/v$npm_package_version/g\" layouts/partials/init/index.html && git add .",