diff --git a/app/components/layout/navbar_component.rb b/app/components/layout/navbar_component.rb index 83d0305..16e3bfb 100644 --- a/app/components/layout/navbar_component.rb +++ b/app/components/layout/navbar_component.rb @@ -23,7 +23,8 @@ def navbar # Generate the navbar-title html block def navbar_title - safe_join([ icon_text("fas fa-signature", "P"), "artecipo" ]) + title = ENV.fetch("RAILS_TITLE", "Partecipo") + safe_join([ icon_text(ENV.fetch("RAILS_ICON", "fas fa-signature"), title.first), title[1..] ]) end # Gerate the navbar-start html block diff --git a/docker-compose.yml b/docker-compose.yml index bed565b..f613a25 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,9 @@ x-rails_conf: &rails_conf ### RAILS_RESTRICTED, If true entire site require authentication # RAILS_RESTRICTED: true RAILS_MASTER_KEY: 5cdcc57160c136623510fa73c7a7587f + ### RAILS_ICON, Used for navbar + RAILS_ICON: fas fa-signature + ### RAILS_TITLE, used for html head title, email and navbar RAILS_TITLE: Partecipo RAILS_DESCRIPTION: Partecipo description RAILS_HEAD_URL: /head.html