Merge pull request #26 from welpo/feature/relative-image-paths
✨ feat: allow relative paths in images
main
commit
3ee94b4ed7
@ -1 +1 @@
|
||||
<img class="invertable-image" {% if src %}src="{{ src }}"{% endif %} {% if alt %}alt="{{ alt }}"{% endif %}/>
|
||||
<img class="invertable-image" {% if src %}src={{ src | safe | replace(from="$BASE_URL", to=config.base_url) }} {% endif %} {% if alt %}alt="{{ alt }}"{% endif %}/>
|
||||
|
Loading…
Reference in New Issue