package App::Dapper::Defaults; =head1 NAME App::Dapper::Defaults - YAML project file defaults. =head1 DESCRIPTION The configuration elemements defined here are used for all projects that Dapper interacts with. The defaults defined here are baseline defaults that may be overridden in a project-specific YAML file. =cut use utf8; use open ':std', ':encoding(UTF-8)'; use 5.8.0; use strict; use warnings FATAL => 'all'; use YAML::PP qw(Load); my $defaults = <<'DEFAULTS'; urlpattern : /:category/:year/:month/:slug/ source : _source/ output : _output/ layout : _layout/ ignore : - ^\. - ^_ - ^dapper$ extension : .html DEFAULTS =head2 get_defaults Loads the defaults specified locally in this module in the form of YAML and returns the resulting perl data structure. =cut sub get_defaults { return Load($defaults); } 1;