This commit is contained in:
Matthew Connelly 2015-03-08 23:13:17 +00:00
parent b5445cf28d
commit b71303a412
2 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ use YAML;
use Dancer2;
my $basedir=File::Spec->rel2abs(__FILE__);$basedir=~s/blogalba$//;
my $cfg="$basedir/blog.conf";
my $blog=YAML::LoadFile("$basedir/blog.conf") or die "Couldn't load $basedir/blog.conf!";
my $cfg="$basedir/config";
my $blog=YAML::LoadFile("$basedir/blog.conf") or die "Couldn't load $basedir/config!";
$blog->{url} .= '/' unless $blog->{url} =~ /\/$/;
my ($page,@posts,@pages,%defparams);

View File