mirror of
https://github.com/imfing/hextra.git
synced 2025-06-19 20:11:18 -04:00
chore: move content to exampleSite
* update dev and build command chore: move contents to exampleSite chore: add configs to exampleSite chore: use tailwindcss/nesting * add postcss-import * move imports to the top chore: add config for theme dev chore: add compiled css chore: fix last updated issue chore: dont't ignore hugo_stats.json chore: update index page layout
This commit is contained in:
@ -1,11 +1,19 @@
|
||||
version: '3'
|
||||
version: "3"
|
||||
|
||||
tasks:
|
||||
|
||||
serve:
|
||||
dev:
|
||||
cmds:
|
||||
- hugo server --enableGitInfo --buildDrafts --buildExpired --buildFuture -p 1313
|
||||
- hugo server --debug --enableGitInfo --source=exampleSite --themesDir=../.. --environment=theme --disableFastRender --buildDrafts --port 1313
|
||||
|
||||
build:
|
||||
deps: [css]
|
||||
cmds:
|
||||
- hugo --minify
|
||||
- hugo --minify --source=exampleSite --themesDir=../..
|
||||
|
||||
css:
|
||||
cmds:
|
||||
- npx postcss --config postcss.config.js --env production assets/css/styles.css -o assets/css/compiled/main.css
|
||||
|
||||
clean:
|
||||
cmds:
|
||||
- rm -rf public resources
|
||||
|
Reference in New Issue
Block a user