diff options
author | Simone <26844016+simonebortolin@users.noreply.github.com> | 2023-01-02 22:54:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 22:54:00 +0100 |
commit | 1e4acbc75178b9dffabd866cbfccfde131fc0552 (patch) | |
tree | d4f3f325f69c4203e65f0315b9d7c30a3e324369 /_includes/image.html | |
parent | fix f6005 bug (#87) (diff) | |
download | hack-gpon.github.io-1e4acbc75178b9dffabd866cbfccfde131fc0552.tar hack-gpon.github.io-1e4acbc75178b9dffabd866cbfccfde131fc0552.tar.gz hack-gpon.github.io-1e4acbc75178b9dffabd866cbfccfde131fc0552.tar.bz2 hack-gpon.github.io-1e4acbc75178b9dffabd866cbfccfde131fc0552.tar.lz hack-gpon.github.io-1e4acbc75178b9dffabd866cbfccfde131fc0552.tar.xz hack-gpon.github.io-1e4acbc75178b9dffabd866cbfccfde131fc0552.tar.zst hack-gpon.github.io-1e4acbc75178b9dffabd866cbfccfde131fc0552.zip |
Diffstat (limited to '')
-rw-r--r-- | _includes/image.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/image.html b/_includes/image.html index 35bd4c3..626367c 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -2,7 +2,7 @@ {% if {{include.url}} %} <a class="no_icon" target="_blank" rel="noopener" href="{{include.url}}"> {% endif %} - <img class="docimage" src="{{include.file | prepend: '/assets/img/' | relative_url }}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} /> + <img class="docimage" src="{{include.file | replace: "\", "/" | prepend: '/assets/img/' | relative_url }}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} /> {% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %} <figcaption> {{include.caption}} |