diff --git a/src/_includes/about.liquid b/src/_includes/about.liquid new file mode 100644 index 0000000..52560cf --- /dev/null +++ b/src/_includes/about.liquid @@ -0,0 +1,18 @@ +
+
+ {% if subpage.data.img %} +
+ {{subpage.data.img.alt}} +
+ {% endif %} +
+ {% if subpage.data.showTitle != false %} +

{{ subpage.data.title }}

+ {% endif %} + {{ subpage.templateContent }} + {% if subpage.data.socials %} + socials here + {% endif %} +
+
+
\ No newline at end of file diff --git a/src/pages/index.liquid b/src/pages/index.liquid index 550c72a..c89e211 100644 --- a/src/pages/index.liquid +++ b/src/pages/index.liquid @@ -9,7 +9,11 @@ permalink: / {% if subpage.data.pageOrderId == 0 %} {% include 'title.liquid' %} {% else %} - {% include 'page.liquid' %} + {% if subpage.data.sectionType == 'about' %} + {% include 'about.liquid' %} + {% else %} + {% include 'page.liquid' %} + {% endif %} {% endif %} {% endif %} {% endfor %}