Skip to content

Commit

Permalink
🐛 Fix: remove symbolic links of themes
Browse files Browse the repository at this point in the history
fixed #419
  • Loading branch information
Lruihao committed Feb 22, 2024
1 parent 551938f commit 002ebda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demo/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion demo/themes/FixIt

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 .",
Expand Down

0 comments on commit 002ebda

Please sign in to comment.