diff options
| author | lemurianmage <azureazure@disroot.org> | 2026-07-02 16:09:38 +0200 |
|---|---|---|
| committer | lemurianmage <azureazure@disroot.org> | 2026-07-02 16:09:38 +0200 |
| commit | d4779b549e51a2999a640747525c39f37f41b012 (patch) | |
| tree | 895e77f3dd6a54cb9faadaf773791d41c179f09b /template.pl | |
| parent | 1d10bbc24f2ea17c534cb5f06a3875f72070aaf5 (diff) | |
| download | slimegirl.nexus-d4779b549e51a2999a640747525c39f37f41b012.tar.gz | |
post-receive hook test
Diffstat (limited to 'template.pl')
| -rwxr-xr-x | template.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/template.pl b/template.pl index 793f9b3..4d9dadd 100755 --- a/template.pl +++ b/template.pl @@ -11,7 +11,9 @@ use File::Basename; use open qw( :std :encoding(UTF-8) ); -my $content = `lowdown --html-titleblock --html-no-head-ids -s --template template.html $ARGV[0]`; +my $LOWDOWN_FLAGS = '--html-titleblock --html-no-head-ids -s --template template.html'; + +my $content = `lowdown $LOWDOWN_FLAGS $ARGV[0]`; my $dom = Mojo::DOM->new($content); |
