# ------------------ Config variables ---------------------
# default seperator to add to story title
# ------------------ Config variables ---------------------
# default seperator to add to story title
# do we default to the right aligned title
# 1 for right aligned, 0 for left
# do we default to the right aligned title
# 1 for right aligned, 0 for left
$title = (defined $blosxom::path_info_da ? "$blosxom::path_info_da/" : "") . (defined $blosxom::path_info_mo ? "$blosxom::path_info_mo/" : "") . "$blosxom::path_info_yr" ;
} elsif ($dir =~ m#(.*?)/?([\-\.\w]+)\.(\w+)$# and $2 ne 'index') {
$title = (defined $blosxom::path_info_da ? "$blosxom::path_info_da/" : "") . (defined $blosxom::path_info_mo ? "$blosxom::path_info_mo/" : "") . "$blosxom::path_info_yr" ;
} elsif ($dir =~ m#(.*?)/?([\-\.\w]+)\.(\w+)$# and $2 ne 'index') {
- $file = join('/', $blosxom::datadir, $1, "$2.txt");
+ my $file = join('/', $blosxom::datadir, $1, "$2.txt");