From df9bfc56cddb5a7b7e4cc49229f76e840c352c87 Mon Sep 17 00:00:00 2001 From: Arthur Linke Date: Sat, 15 Nov 2025 11:09:45 +0100 Subject: [PATCH] Fix registration link on homepage if account self-registration is disabled Closes #388. --- root/templates/homepage_hero.tt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/root/templates/homepage_hero.tt b/root/templates/homepage_hero.tt index 77e95f7c..0f1311d0 100644 --- a/root/templates/homepage_hero.tt +++ b/root/templates/homepage_hero.tt @@ -4,7 +4,16 @@

[% name %]

Because meal planning can also be simple

Here you can browse public recipes.

-

To begin your own project,
register your personal account or sign in.

+

+ To begin your own project, + [% IF register_url %] +
register your personal account or + [% END %] + sign in. + [% IF NOT register_url %] +
Registration is disabled on this site. + [% END %] +

-- GitLab