From: Emil Williams Date: Thu, 8 May 2025 03:16:12 +0000 (-0600) Subject: -- X-Git-Url: https://git.xolatile.top/?a=commitdiff_plain;h=6f372bd37bb47efd2dbc6dc6ab69484d33cae41d;p=emil-3chen.org.git -- --- diff --git a/perl/Triple.pm b/perl/Triple.pm index 62f0ec2..69d9049 100644 --- a/perl/Triple.pm +++ b/perl/Triple.pm @@ -16,8 +16,8 @@ use Secrets; our $debug = 0; use constant { - STATIC_PAGE => 1, - DYNAMIC_PAGE => 0, + STATIC_PAGE => 0, + DYNAMIC_PAGE => 1, }; our %page = ( @@ -77,7 +77,7 @@ sub init { }; foreach my $key (keys %page) { my @set = @{$page{$key}}; - next if $set[0] == DYNAMIC_PAGE; + next if $set[0] != STATIC_PAGE; syslog("info", "Marking Static '$key'"); $template->process($set[1], $vars, \$_) or syslog("info", $template->error()); $static{$key} = $_;