aboutsummaryrefslogtreecommitdiff
path: root/template.pl
diff options
context:
space:
mode:
Diffstat (limited to 'template.pl')
-rwxr-xr-xtemplate.pl4
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);