[ci skip]
This commit is contained in:
probonopd authored and GitHub committed 2019-01-03 23:35:30 +00:00
1 parent 1332929c39
commit 462ef3f79a
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
{% if post.screenshots %}
<div id="screenshots">
{% for screenshot in post.screenshots %}
<img src="{{ site.baseurl }}/img/windows/placeholder.png" data-src="{% if screenshot contains '://' %}{{screenshot}}{% else %}{{ site.baseurl | replace: "raw.githubusercontent.com", "gitcdn.xyz/repo" }}/database/{{ screenshot }}{% endif %}" alt="Screenshot of {{ page.name | remove: ".md" }}" />
<img src="{{ site.baseurl }}/img/windows/placeholder.png" data-src="{% if screenshot contains '://' %}{{screenshot}}{% else %}{{ site.baseurl }}/database/{{ screenshot }}{% endif %}" alt="Screenshot of {{ page.name | remove: ".md" }}" />
<noscript>
<img src="{% if screenshot contains '://' %}{{screenshot}}{% else %}{{ site.baseurl }}/database/{{ screenshot }}{% endif %}" alt="Screenshot" />
</noscript>