Moodle Version: 3.9
Journeying into the art of theme creation for an internal project, so far have been successful and have got some custom renderers going and got a bootstrap 4 theme working with the mustache templating system. I've ran into a problem though I can't get my head around.
output.full_header - delving down, the title is provided by the function "context_header". If there is no context_header set, it displays the full site name instead. One of the pages where this is the case is the "homepage". I'd like it to display "Home" rather than the site name, so there are two solutions
- How can I stop it displaying the site name and instead display "Home"
- Is there a function which can check "if page = homepage" as I could then do some custom stuff in the templating instead
Thanks in advance for help!