fix(SEO): some bad escape sequence in JSON-LD

This commit is contained in:
Dillon
2020-03-14 15:43:58 +08:00
parent 5716f7d938
commit 984e58ec0f
3 changed files with 22 additions and 25 deletions

View File

@@ -12,9 +12,9 @@
"husky": "^4.2.3"
},
"scripts": {
"build": "npx babel src --out-file assets/js/theme.min.js --source-maps",
"build": "npx babel src --out-file assets/js/theme.min.js --source-maps && hugo -v --source=exampleSite --themesDir=../.. -D --gc",
"start": "npm run build && hugo server --source=exampleSite --themesDir=../.. --disableFastRender",
"copy": "hugo -v --source=exampleSite --themesDir=../.. -D --gc --minify && rm -rf resources && cp -rf exampleSite/resources resources"
"copy": "rm -rf resources && cp -rf exampleSite/resources resources"
},
"husky": {
"hooks": {