diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-02 18:12:10 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-02 18:12:10 +0100 |
commit | c6532906df51acb736509e399a24bb32fb536c45 (patch) | |
tree | 2024ed088ca75f01c596927aec428c8954af002d | |
parent | 856a66c0bea917af8c7efd907d2200c01bab382b (diff) |
add imprint
-rwxr-xr-x | index.pl | 12 | ||||
-rw-r--r-- | templates/about.html.ep | 3 |
2 files changed, 15 insertions, 0 deletions
@@ -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) = @_; diff --git a/templates/about.html.ep b/templates/about.html.ep index 983b73b..ac68d23 100644 --- a/templates/about.html.ep +++ b/templates/about.html.ep @@ -11,3 +11,6 @@ </div> </div> +% if (-e 'templates/imprint.html.ep') { +%= include 'imprint' +% } |