diff --git a/pages/_includes/cards/card-group.html b/pages/_includes/cards/card-group.html new file mode 100644 index 000000000..1ad0c8c5f --- /dev/null +++ b/pages/_includes/cards/card-group.html @@ -0,0 +1,5 @@ +
+ {% include_cached cards/card.html body="This is first card"%} + {% include_cached cards/card.html body="This is second card"%} + {% include_cached cards/card.html body="This is third card"%} +
diff --git a/pages/_includes/cards/card-image.html b/pages/_includes/cards/card-image.html new file mode 100644 index 000000000..7d12adb2d --- /dev/null +++ b/pages/_includes/cards/card-image.html @@ -0,0 +1,16 @@ +
+
+
+ {{ include.img-alt | default: 'Card side image' }} +
+
+
+ {% if include.title %} +

{{ include.title }}

+ {% endif %} +

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam deleniti fugit incidunt, iste, itaque minima + neque pariatur perferendis sed suscipit velit vitae voluptatem.

+
+
+
+
diff --git a/pages/_includes/cards/card.html b/pages/_includes/cards/card.html index c15c65af6..24b9b2e30 100644 --- a/pages/_includes/cards/card.html +++ b/pages/_includes/cards/card.html @@ -1,15 +1,15 @@ -
+
{% if include.img-top %} {{ include.img-top-alt | default: 'Card top image' }} {% endif %} - {% if include.status-position %} -
+ {% if include.status-top %} +
{% endif %} - {% if include.header-title %} + {% if include.header or include.header-title %}
-

{{ include.header-title }}

+

{{ include.header-title | default: 'Header title' }}

{% endif %} @@ -40,18 +40,46 @@ {% endif %}
- {% if include.footer or include.footer-button or include.footer-buttons %} + {% if include.footer or include.footer-button or include.footer-buttons or include.footer-elements %} {% endif %} diff --git a/pages/_includes/ui/form/check.html b/pages/_includes/ui/form/check.html index e384c294b..cb3973eda 100644 --- a/pages/_includes/ui/form/check.html +++ b/pages/_includes/ui/form/check.html @@ -12,7 +12,7 @@ {% assign title = title | append: ' ' | append: type %} {% assign title = title | append: ' input' | lstrip | capitalize %} {% endunless %} -