diff options
author | Alan Pearce | 2023-09-22 08:40:59 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-22 12:03:47 +0200 |
commit | 3a2d198d153efc8a69e7640f7dcde88207268ff3 (patch) | |
tree | 7cec49484a6fbbf96121ff396afe1fd0425c4654 /Makefile | |
parent | 9c4fd37c97a87b9d1ab9e65b77e4578936b66323 (diff) | |
download | website-3a2d198d153efc8a69e7640f7dcde88207268ff3.tar.lz website-3a2d198d153efc8a69e7640f7dcde88207268ff3.tar.zst website-3a2d198d153efc8a69e7640f7dcde88207268ff3.zip |
Replace zola with DOM-based static site generation code
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile b/Makefile index 288985d..ef95ece 100644 --- a/Makefile +++ b/Makefile @@ -7,18 +7,9 @@ gzip := @gzip --best --keep --force zstd := @zstd --force --no-pass-through -19 --quiet --stdout pr := @printf "%4s %s\n" -public/feed-styles.xsl: - @mv public/feed-styles/index.html $@ - @rm -fr public/feed-styles - -postprocess: .postprocessstamp - -.postprocessstamp: public/feed-styles.xsl - @touch .postprocessstamp - format: .formatstamp -.formatstamp: public/index.html .postprocessstamp +.formatstamp: @echo "Formatting HTML..." @prettier --write --parser html --print-width 120 "public/**/*.html" > /dev/null @touch .formatstamp |