use Config;
use Search::Elasticsearch;
use Try::Tiny;
-use YAML::XS qw/LoadFile/;
+use YAML qw/LoadFile/;
use C4::Output;
use C4::Auth;
}
## Contributors
-my $contributors = LoadFile("$docdir"."/contributors.yaml");
+my $contributors =
+ -e "$docdir" . "/contributors.yaml"
+ ? LoadFile( "$docdir" . "/contributors.yaml" )
+ : {};
my @people = map {
{
name => $_,