added include template for images and refined documentation for alerts and callouts include templates

This commit is contained in:
tomjohnson1492
2016-06-06 10:00:01 -07:00
parent 2647ab54d7
commit 06673e2de9
5 changed files with 99 additions and 98 deletions

1
_includes/image.html Normal file
View File

@ -0,0 +1 @@
<figure>{% if {{include.url}} %}<a class="no_icon" target="_blank" href="{{include.url}}">{% endif %}<img class="docimage" src="{{site.baseurl | prepend: site.url}}/images/{{include.file}}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} />{% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %}<figcaption>{{include.caption}}</figcaption></figure>{% endif %}