feat: minification #17

Merged
Anri merged 14 commits from minification into main 2023-04-09 19:30:04 +02:00

14 commits

Author SHA1 Message Date
eb9e7e22f3
impl render to template class
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 19:26:20 +02:00
6d3b4c8398
migration: askama to ramhorns
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 19:02:06 +02:00
d1f1d5d478
Revert "always use dist directory"
This reverts commit d1568f406d.
2023-04-09 18:23:51 +02:00
6ebd48aeb6
Revert "add script"
This reverts commit 7322bf0057.
2023-04-09 18:23:46 +02:00
e1b0dec100
Revert "verbose"
This reverts commit 36ca74943a.
2023-04-09 18:23:35 +02:00
5c796c627b
Revert "copy dist"
This reverts commit 462370b1d8.
2023-04-09 18:23:26 +02:00
462370b1d8
copy dist
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 18:03:53 +02:00
36ca74943a
verbose
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 18:03:03 +02:00
7322bf0057
add script
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 17:59:18 +02:00
d1568f406d
always use dist directory
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 17:35:15 +02:00
c42238a624
cleanup
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 17:01:30 +02:00
ea5ce83658
Template minification
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
* use dist/template when exists
* move the minification in config.rs
* load askama.toml for the templates dirs name
* extract the minification of file to minify_and_copy
2023-04-09 16:58:21 +02:00
f368e57d7f
don't always minify when rendering html
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 16:52:07 +02:00
45b2de54fb
use relative path 2023-04-09 16:51:50 +02:00