diff --git a/_includes/image.html b/_includes/image.html new file mode 100644 index 0000000..ff768d7 --- /dev/null +++ b/_includes/image.html @@ -0,0 +1,9 @@ +{% capture imagePath %}{{ page.date | date: "%Y-%m-%d" }}-{{ page.title | slugify }}/{{ include.name }}{% endcapture %} +{% if include.caption %} +
+ {{ include.alt }} +
{{ include.caption }}
+
+{% else %} + {{ include.alt }} +{% endif %} \ No newline at end of file