hextra/taskfile.yaml
Xin 52931107a3 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
2023-08-16 20:42:32 +01:00

20 lines
472 B
YAML

version: "3"
tasks:
dev:
cmds:
- hugo server --debug --enableGitInfo --source=exampleSite --themesDir=../.. --environment=theme --disableFastRender --buildDrafts --port 1313
build:
deps: [css]
cmds:
- 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