diff --git a/content/home/index.md b/content/home/index.md index e71b474..59fc633 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -45,12 +45,27 @@ weight: 1 + + +{% myloop( + items=["Item 1", "Item 2", "Item 3", "Item 4"]) + %} + + # test + + {% end %} {% reviews( - reviews_name = "ehab", + reviews_name = "Jhone", reviews_date = "12/6/2023" reviews_description = "test test" @@ -59,8 +74,18 @@ weight: 1 {% end %} +{% 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"]) + + + + + %} + + + {% banner( banner_text = "This is a section of some simple filler text, also known as placeholder text.", @@ -68,6 +93,8 @@ weight: 1 ) %} + + diff --git a/templates/shortcodes/logo.html b/templates/shortcodes/logo.html new file mode 100644 index 0000000..6686321 --- /dev/null +++ b/templates/shortcodes/logo.html @@ -0,0 +1,16 @@ +
+
+

Trusted by the best

+ +
+ + {% for logo in logos %} +
+ +
+ {% endfor %} + + +
+
+
\ No newline at end of file diff --git a/templates/shortcodes/myloop.html b/templates/shortcodes/myloop.html new file mode 100644 index 0000000..7ff139f --- /dev/null +++ b/templates/shortcodes/myloop.html @@ -0,0 +1,4 @@ + +{% for item in items %} +

{{ item }}

+{% endfor %} diff --git a/templates/shortcodes/reviews.html b/templates/shortcodes/reviews.html index 86ab6b7..b74830c 100644 --- a/templates/shortcodes/reviews.html +++ b/templates/shortcodes/reviews.html @@ -46,7 +46,7 @@
- + {# {% for item in items %} #}
{{ reviews_name }} @@ -79,6 +79,7 @@

{{ reviews_description }}

+ {# {% endfor %} #}