diff --git a/blogalba b/blogalba index b5b7ab5..b08df32 100755 --- a/blogalba +++ b/blogalba @@ -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); diff --git a/blog.conf b/config similarity index 100% rename from blog.conf rename to config