customizable footer implementation

This commit is contained in:
timurgordon
2022-02-22 14:49:27 +03:00
parent 97afd6c252
commit d0e6e8101d
6 changed files with 177 additions and 121 deletions

View File

@@ -1,6 +1,16 @@
<!-- row shortcode
Shortcode used in markdown for the creation of mobile compatible vertical rows
Divides markdown into columns by splitting content using column identifier "|||"
Creates equal width blocks in a flex row.
Parameters:
- isLean: if an isLean variable is passed, the row doesn't have outer margins
- bgPath: if bgPath is passed, the row has a full width background
-->
{% set columns = body | safe | markdown | split(pat="|||") %}
{% set classes = "relative pt-12 flex flex-col lg:flex-row p-8 sm:p-12 md:p-16 lg:p-20 lg:py-16 items-center" %}
{% set classes = "relative pt-12 flex flex-col md:flex-row lg:flex-row p-8 sm:p-12 md:p-16 lg:p-20 lg:py-16 lg:items-center" %}
{% if isLean %}
{% set classes = "relative flex flex-col lg:flex-row items-baseline" %}
{% endif %}