summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone <26844016+simonebortolin@users.noreply.github.com>2023-01-02 19:48:32 +0100
committerGitHub <noreply@github.com>2023-01-02 19:48:32 +0100
commit3ceaaebdc78d1852ae68612664008807b89910ca (patch)
tree02433f65250713da003571b6e3dfa814e29d48af
parentUpdate info on "GPON Resource" (chipset, info on GPON [Auth, MIB, VEIP, PPTP, GEM, ...], EPON, ...) (#80) (diff)
downloadhack-gpon.github.io-3ceaaebdc78d1852ae68612664008807b89910ca.tar
hack-gpon.github.io-3ceaaebdc78d1852ae68612664008807b89910ca.tar.gz
hack-gpon.github.io-3ceaaebdc78d1852ae68612664008807b89910ca.tar.bz2
hack-gpon.github.io-3ceaaebdc78d1852ae68612664008807b89910ca.tar.lz
hack-gpon.github.io-3ceaaebdc78d1852ae68612664008807b89910ca.tar.xz
hack-gpon.github.io-3ceaaebdc78d1852ae68612664008807b89910ca.tar.zst
hack-gpon.github.io-3ceaaebdc78d1852ae68612664008807b89910ca.zip
Diffstat (limited to '')
-rw-r--r--_includes/image.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/image.html b/_includes/image.html
index 5aa729b..35bd4c3 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="../assets/img/{{include.file}}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% 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 %} />
{% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %}
<figcaption>
{{include.caption}}