diff options
| -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' +% }  | 
