From 36eee924aa923f37619dd6329774ef368ea6ffcf Mon Sep 17 00:00:00 2001 From: Derf Null Date: Sun, 19 Mar 2023 12:20:30 +0100 Subject: add optional announcements to travelynx.conf --- templates/layouts/default.html.ep | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'templates/layouts') diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 78330ee..66dc9db 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -117,6 +117,16 @@ % } +% if (app->config->{announcement}) { +
+
+
+ %= app->config->{announcement} +
+
+
+% } +
% if (is_user_authenticated()) { % my $acc = current_user(); -- cgit v1.2.3