[% site_name %] declaration

17 views
Skip to first unread message

Richard Perry

unread,
Feb 13, 2025, 12:51:24 PM2/13/25
to FixMyStreet
Sure this is a very a basic question, but where is the site_name declared?
This is referenced in HTML pages as [% site_name %], but can't for the life of me find out where. Dont want to manually changes these to static text. Would have thought it would be in general.yml, but no. Then searched other HTML files and cant find it there either....
 

Matthew Somerville

unread,
Feb 14, 2025, 3:11:01 AM2/14/25
to FixMyStreet
Hi,

site_name is defined as the contents of the site-name.html template in your cobrand.
This template is mentioned on https://fixmystreet.org/customising/templates/, but it doesn't say that it gets put in the site_name variable.

ATB,
Matthew

On Thu, 13 Feb 2025 at 17:51, 'Richard Perry' via FixMyStreet <fixmy...@mysociety.org> wrote:
Sure this is a very a basic question, but where is the site_name declared?
This is referenced in HTML pages as [% site_name %], but can't for the life of me find out where. Dont want to manually changes these to static text. Would have thought it would be in general.yml, but no. Then searched other HTML files and cant find it there either....
 

--
You received this message because you are subscribed to the Google Groups "FixMyStreet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fixmystreet...@mysociety.org.
To view this discussion visit https://groups.google.com/a/mysociety.org/d/msgid/fixmystreet/2fdb26c1-6f32-40b4-a949-6d8e905163e4n%40mysociety.org.
Reply all
Reply to author
Forward
0 new messages