{ 'ad_300x250' => '
', 'ad_300x250_1' => '
', 'ad_300x250_noroadblocks' => '
', 'ad_300x250_roadblocks' => '
', 'ad_300x600' => '
', 'ad_728x90' => '
', 'ad_728x90_roadblocks' => '
', 'ad_970x250' => '
', 'ad_wallpaper' => ' ', 'advertserve_ajax' => ' ', 'calendar_url' => 'https://www.slowtwitch.com/calendar', 'comscore' => '', 'current_year' => 'sub { use POSIX qw(strftime); my $now_string = strftime "%Y", localtime; return $now_string; }', 'exclusive_ad_test' => 'sub { my $regex_match = $ID =~ /7629/; return $regex_match; }', 'forum_url' => 'sub { return \'https://forum.slowtwitch.com\'; }', 'get_image_context' => 'sub { my $index = shift || return; my $tags = GT::Template->tags; return { description => $tags->{"Image$index" . "_description"} || \'\', paragraph => $tags->{"Paragraph$index"} || \'\' }; }', 'google_tag_manager' => ' ', 'is_old_article' => 'sub { my $date = shift; require GT::Date; return GT::Date::date_is_greater($date, \'2016-08-03\') ? 0 : 1; }', 'old_detailed_url' => 'sub { my $url = shift || return; $url =~ s,^https://,http://,; return { http_detailed_url => $url }; }', 'quantcast' => '', 'shorten_it' => 'sub { my $str = shift || return; my $length = shift || 160; $str =~ s/<(?:[^>\'"]*|([\'"]).*?\1)*>//gs; if ($length > 0 and length $str > $length) { $str = substr($str,0,$length); $str =~ s/\s+\w+$//g; $str .= " ..."; } return $str; }', 'site_description' => 'Online triathlon magazine with product reviews, a bike fit guide, training tips, and several regular columnists. The editor is Dan Empfield, the founder of Quintana Roo.', 'site_keywords' => 'triathlon, swim, bike, run, ironman, 70.3, ITU, Olympic, USAT, slowtwitch', 'static_url' => 'sub { return $CFG->{build_static_url}; }' }; # vim:syn=perl:ts=4:noet