Closed Rahel-A closed 1 month ago
Allows the alt text to be customised.
Currently the whole index.html would need to be altered, just to set the banner alt text, with this change, only the banner block needs to be overriden like this:
{% extends "papaya/templates/index.html" %} {% block banner %} <img src="{{ banner.url }}" class="index-banner" alt="Not a misty forest, but something else"/> {% endblock banner %}
Allows the alt text to be customised.
Currently the whole index.html would need to be altered, just to set the banner alt text, with this change, only the banner block needs to be overriden like this: