Add new Features:

- Block Alignments
- Tables
- Media with Links
- Block Sizes
This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2021-12-28 19:43:39 +01:00
parent 83febcfc79
commit 6adf42d457
20 changed files with 263 additions and 27 deletions
+7 -1
View File
@@ -1,4 +1,7 @@
{% capture content %}
{% if include.link %}
<a href="{{ include.link }}" {% if include.caption %}alt="{{ include.caption }}"{% endif %}>
{% endif %}
{% if include.type == "image" %}
<picture
src="{{ include.url | absolute_url }}"
@@ -33,8 +36,11 @@
<source src="{{ include.url | absolute_url }}">
</audio>
{% endif %}
{% if include.link %}
</a>
{% endif %}
{% if include.caption %}
<figcaption>{{ include.caption }}</figcaption>
{% endif %}
{% endcapture %}
{% include blocks/_base.liquid type="media" content=content float=include.float %}
{% include blocks/_base.liquid type="media" content=content float=include.float align=include.align %}