From e7a7a167b56ce0feaf4b904e9fd4ab58f8f57390 Mon Sep 17 00:00:00 2001 From: L3D Date: Wed, 17 Mar 2021 23:14:11 +0100 Subject: [PATCH] Update flow seperator --- content/contents.lr | 1 + flowblocks/flow_seperator.ini | 3 +++ models/homepage.ini | 2 +- templates/blocks/flow_seperator.html | 1 + templates/homepage.html | 1 - 5 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 flowblocks/flow_seperator.ini create mode 100644 templates/blocks/flow_seperator.html diff --git a/content/contents.lr b/content/contents.lr index bc13950..9704628 100644 --- a/content/contents.lr +++ b/content/contents.lr @@ -35,3 +35,4 @@ title: Mastodon sm_link: https://chaos.social/@hackergeno ----- sm_image: /images/mastodon_logo.svg +#### flow_seperator #### diff --git a/flowblocks/flow_seperator.ini b/flowblocks/flow_seperator.ini new file mode 100644 index 0000000..19e2765 --- /dev/null +++ b/flowblocks/flow_seperator.ini @@ -0,0 +1,3 @@ +[block] +name = Seperator +button_label = Seperator diff --git a/models/homepage.ini b/models/homepage.ini index a00f390..3ca8a64 100644 --- a/models/homepage.ini +++ b/models/homepage.ini @@ -16,4 +16,4 @@ type = string [fields.section] label = Sections type = flow -flow_blocks = flow_text_image_section +flow_blocks = flow_text_image_section, flow_seperator diff --git a/templates/blocks/flow_seperator.html b/templates/blocks/flow_seperator.html new file mode 100644 index 0000000..f8b91ab --- /dev/null +++ b/templates/blocks/flow_seperator.html @@ -0,0 +1 @@ +
diff --git a/templates/homepage.html b/templates/homepage.html index 1d79adf..4b8311b 100644 --- a/templates/homepage.html +++ b/templates/homepage.html @@ -9,7 +9,6 @@ {%- endblock -%} {% block body %} -