From d6f9a7683d9a946a1da3e0e8bf32095d0f8e4f0b Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 29 Nov 2023 23:28:08 +0200 Subject: [PATCH] update --- content/home/index.md | 29 ++++++++++------------------- templates/shortcodes/banner.html | 2 +- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/content/home/index.md b/content/home/index.md index 59fc633..3c747d0 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -33,10 +33,8 @@ weight: 1 content1_item1 = "This is a section of some simple filler text" content1_item2 = "Also known as placeholder text" content1_item3 = "It shares some characteristics of a real written text" - quate_title = "“This is a section of some simple filler text, also known as placeholder text. It shares some characteristics of a real written text but is random or otherwise generated.” -" + quate_title = "“This is a section of some simple filler text, also known as placeholder text. It shares some characteristics of a real written text but is random or otherwise generated.”" - ) %} # test @@ -45,19 +43,11 @@ weight: 1 - - {% myloop( items=["Item 1", "Item 2", "Item 3", "Item 4"]) %} - - # test + +# test {% end %} @@ -77,21 +67,22 @@ weight: 1 {% logo( logos=["https://purepng.com/public/uploads/large/purepng.com-disney-logologobrand-logoiconslogos-251519939495wtv86.png", "https://purepng.com/public/uploads/large/purepng.com-disney-logologobrand-logoiconslogos-251519939495wtv86.png", "https://purepng.com/public/uploads/large/purepng.com-disney-logologobrand-logoiconslogos-251519939495wtv86.png", "https://purepng.com/public/uploads/large/purepng.com-disney-logologobrand-logoiconslogos-251519939495wtv86.png"]) - - - %} +# test + +{% end %} {% banner( - banner_text = "This is a section of some simple filler text, also known as placeholder text.", - banner_button_name = "Learn More" + banner_button = "Learn More" +) +%} -) %} +# test diff --git a/templates/shortcodes/banner.html b/templates/shortcodes/banner.html index 1a70a9a..64e540a 100644 --- a/templates/shortcodes/banner.html +++ b/templates/shortcodes/banner.html @@ -3,7 +3,7 @@
{{ banner_text }}
- {{ banner_button_name }} + {{ banner_button }}