Compare commits

...

2 commits

Author SHA1 Message Date
2cfc023f4a
generate statically compressed files 2025-04-02 13:01:00 -04:00
5a76665519
disable excess rss feeds 2025-04-02 13:00:09 -04:00
3 changed files with 17 additions and 1 deletions

7
\ Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
rm -rf ./public
hugo --minify || exit $?
gzip -rk public || exit $?
fd . public -tf -E '*.gz' -x brotli -k {} || exit $?
rsync -rvz --delete ./public/ wires.systems:/var/www/html

View file

@ -1,4 +1,7 @@
#!/bin/sh #!/bin/sh
rm -rf ./public rm -rf ./public
hugo && rsync -rvz --delete ./public/ wires.systems:/var/www/html hugo --minify || exit $?
gzip --best -rk public || exit $?
fd . public -tf -E '*.gz' -x brotli -k {} || exit $?
rsync -rvz --delete ./public/ wires.systems:/var/www/html

View file

@ -13,6 +13,12 @@ summaryLength = 10
goldmark.renderer.unsafe = true goldmark.renderer.unsafe = true
tableOfContents.ordered = true tableOfContents.ordered = true
[outputs]
page = ["HTML"]
home = ["HTML", "RSS"]
term = ["HTML"]
taxonomy = ["HTML"]
[outputFormats.rss] [outputFormats.rss]
baseName = 'feed' baseName = 'feed'