_includes/image.html in jekyll-theme-hamilton-1.4.0 vs _includes/image.html in jekyll-theme-hamilton-1.4.1
- old
+ new
@@ -1,10 +1,10 @@
{% capture align %}align-{{ include.align | default: "center" }}{% endcapture %}
{%- if include.src -%}
{% assign src = include.src %}
{%- elsif include.name -%}
- {% capture src %}assets/img/{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
+ {% capture src %}assets/img/posts/{{ page.title | slugify }}/{{ include.name }}{% endcapture %}
{%- endif -%}
{% if include.caption %}
<figure class="{{ align }}">
<img class="{{ align }}" src="{{ src | absolute_url }}" alt="{{ include.caption }}" {% if include.width %}width="{{ include.width }}"{% endif %} {% if include.height %}height="{{ include.height }}"{% endif %}/>