add imprint

This commit is contained in:
Daniel Friesel 2019-03-02 18:12:10 +01:00
parent 856a66c0be
commit c6532906df
2 changed files with 15 additions and 0 deletions

View file

@ -766,6 +766,18 @@ get '/x/about' => sub {
$self->render( 'about', version => $VERSION );
};
get '/x/impressum' => sub {
my ($self) = @_;
$self->render('imprint');
};
get '/x/imprint' => sub {
my ($self) = @_;
$self->render('imprint');
};
post '/x/geolocation' => sub {
my ($self) = @_;

View file

@ -11,3 +11,6 @@
</div>
</div>
% if (-e 'templates/imprint.html.ep') {
%= include 'imprint'
% }