Compare commits
2 commits
bb8caf62bf
...
2cfc023f4a
Author | SHA1 | Date | |
---|---|---|---|
2cfc023f4a | |||
5a76665519 |
3 changed files with 17 additions and 1 deletions
7
\
Normal file
7
\
Normal 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
|
|
@ -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
|
||||||
|
|
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue