
Reduces contrast and brightness of images when the dark theme is active. Useful when invertable-image is not appropriate (photographs, paintings, colour drawings…)
2 lines
162 B
HTML
2 lines
162 B
HTML
<img class="dimmable-image" {% if src %}src={{ src | safe | replace(from="$BASE_URL", to=config.base_url) }} {% endif %} {% if alt %}alt="{{ alt }}"{% endif %}/>
|