This commit is contained in:
rzen
2019-07-21 22:16:23 -04:00
commit 8853b7c668
48 changed files with 1682 additions and 0 deletions

17
_includes/image.html Normal file
View File

@ -0,0 +1,17 @@
{% capture imagePath %}{{ page.id | split: "/" | last }}/{{ include.name }}{% endcapture %}
{% if include.frame == false %}
{% assign frame = false %}
{% else %}
{% assign frame = true %}
{% endif %}
<figure class="figure {% if include.caption %}figure-caption{% endif %} {% if frame %}figure--frame{% endif %}">
<div class="figure__inner">
<img Xwidth="100%" class="figure__image" src="/assets/blog/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
{% if include.caption %}
<figcaption class="figure__caption">{{ include.caption }} {% if include.source %}<a class="source" href="{{ include.source }}" title="{{ include.source }}">Source</a>.{% endif %}</figcaption>
{% endif %}
</div>
</figure>