all: make config make js make hugo config: yj -yj -i < config.yaml > config.json yj -yt -i < config.yaml > config.toml watch: while true; do find . | entr -d -s 'make all'; done js: deno run --allow-all static/js/bundle.ts hugo: rm -rf public hugo --templateMetrics && hugo --templateMetrics rm -f .hugo_build.lock server: caddy file-server --listen :9294 --root public test: make test-html make test-xsl make test-xml make test-rss make test-jsonfeed test-html: validatornu \ public/index.html \ public/default/index.html test-css: validatornu --css \ assets/css/default.css test-xsl: xsltproc \ public/rss.xsl test-xml: xmllint --noout \ public/rss.xml test-rss: xmllint --noout --relaxng assets/schemas/rss-v2.0.rng public/rss.xml # xmllint --noout --schema assets/schemas/rss-v2.0.xsd public/rss.xml test-sitemap: xmllint --noout --schema assets/schemas/sitemap-v0.9.xsd public/sitemap.xml # xmllint --noout --schema assets/schemas/sitemapindex-v0.9.xsd public/sitemap.xml test-jsonfeed: check-jsonschema --schemafile assets/schemas/jsonfeed-v1.1.json public/index.json icons: rm -rf static/icons mkdir -p static/icons/feather static/icons/tabler curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/LICENSE --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/alert-circle.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/archive.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/arrow-down-circle.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/arrow-left.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/arrow-right.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/arrow-up.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/at-sign.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/calendar.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/circle.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/clock.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/code.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/copy.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/edit.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/external-link.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/eye-off.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/file-text.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/git-commit.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/globe.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/heart.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/home.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/link.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/map-pin.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/rss.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/search.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/tag.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/trash-2.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/user.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/feathericons/feather/master/icons/users.svg --output-dir static/icons/feather curl --silent --remote-name https://raw.githubusercontent.com/tabler/tabler-icons/master/LICENSE --output-dir static/icons/tabler curl --silent --remote-name https://raw.githubusercontent.com/tabler/tabler-icons/master/icons/book-2.svg --output-dir static/icons/tabler curl --silent --remote-name https://raw.githubusercontent.com/tabler/tabler-icons/master/icons/clock.svg --output-dir static/icons/tabler curl --silent --remote-name https://raw.githubusercontent.com/tabler/tabler-icons/master/icons/pinned.svg --output-dir static/icons/tabler curl --silent --remote-name https://raw.githubusercontent.com/tabler/tabler-icons/master/icons/robot.svg --output-dir static/icons/tabler curl --silent --remote-name https://raw.githubusercontent.com/tabler/tabler-icons/master/icons/robot.svg --output-dir static/icons/tabler git add -f static/icons