page.name | remove: ".md"

[ci skip]
This commit is contained in:
probonopd authored and GitHub committed 2019-01-02 01:20:57 +00:00
1 parent d8f79b8e85
commit f475524874
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 }}/database/{{ screenshot }}{% endif %}" alt="Screenshot of {{ post.title }}" />
<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>