diff --git a/pages/_includes/cards/card-group.html b/pages/_includes/cards/card-group.html new file mode 100644 index 0000000000000000000000000000000000000000..1ad0c8c5f5c7d9062f845cdcaa245d3af0b60670 --- /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 0000000000000000000000000000000000000000..7d12adb2dba6583a81982dae54a162eb3c901d47 --- /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 c15c65af635844bce38d854672fb5c3fe5f7592b..24b9b2e30b5014575241c51fb97e2e9f31226d14 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 e384c294bfb18e737112f4fb575360b7d417683a..cb3973eda9c5153b5f5d792bb8f778013a3d69ff 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 %} -