mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 22:16:07 +01:00
- Remove i18n & include drafts in dev build - Links have agree/accurate indicators - Also introduces `references` as a standard Params structure for my blog. I don't particularly like that it's a map rather than an array, but this is what my micropib enpoint currently creates, so I'll stick with this until I can be bothered to switch that over.
22 lines
467 B
YAML
22 lines
467 B
YAML
# https://taskfile.dev
|
|
|
|
version: '3'
|
|
|
|
# TODO: Handle commands in dotenv
|
|
# dotenv: ['.env']
|
|
|
|
tasks:
|
|
check-links:
|
|
cmds:
|
|
- rm -rf ./public/
|
|
- lychee --cache --suggest --require-https .
|
|
dev:
|
|
cmds:
|
|
- hugo server --minify -D
|
|
build:
|
|
cmds:
|
|
- hugo --cacheDir /tmp/hugo/cache --minify --baseURL "https://www.byjp.me"
|
|
- npm_config_yes=true npx pagefind@latest
|
|
import:
|
|
cmds:
|
|
- cd ./tools/import/omnivore && go run .
|