Added CDN powered images

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2018-01-02 11:40:28 +01:00
parent 6a475f25ce
commit c1b8b57269
2 changed files with 5 additions and 0 deletions

3
_includes/image.html Normal file
View File

@ -0,0 +1,3 @@
<img alt="{{ include.alt }}"
src="{% if site.data.cdn.use %}{{ site.data.cdn.url }}{% else %}{{ site.baseurl }}{% endif %}{{ include.link }}"
class="img-fluid" />