Make site tagline configurable

This commit is contained in:
Andreas Nedbal 2024-08-10 03:01:40 +02:00 committed by Andreas Nedbal
parent 629a9e5326
commit 66a1998957
3 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
.card-body.py-4
= render "layouts/messages"
%h1= APP_CONFIG["site_name"]
%p= t(".subtitle")
%p= APP_CONFIG["site_tagline"]
- if Retrospring::Config.registrations_enabled?
%p
%a.btn.btn-outline-light.btn-lg{ href: url_for(new_user_registration_path) }

View File

@ -1,6 +1,9 @@
# The site name, shown everywhere.
site_name: "justask"
# The sites tagline, shown on the start page
site_tagline: "Ask questions, give answers and learn more about your friends."
# Use the SVG logo from `/public/logo.svg`
use_svg_logo: false

View File

@ -2,7 +2,6 @@ en:
language: "English"
about:
index:
subtitle: "Ask questions, give answers and learn more about your friends."
register: "Register now"
already_member: "Already a member?"
more_features: "But wait, there's more!"