From 062b06e528b4d234596977709c95c9191dacaf4a Mon Sep 17 00:00:00 2001 From: despiegk Date: Wed, 29 Nov 2023 11:56:45 +0300 Subject: [PATCH] init --- content/home/index.md | 23 ++++++++++++++++++++++- templates/shortcodes/reviews.html | 6 +++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/content/home/index.md b/content/home/index.md index 8943664..b47eda2 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -9,7 +9,28 @@ weight: 1 -{{ reviews() }} +{{ reviews( + reviews=[ + { + "title":"Title1", + "date":"August 28, 2021", + "stars":[3,2], + "description":"This is the text which will be used" + }, + { + "title":"Title2", + "date":"August 29, 2021", + "stars":[4,1], + "description":"This is the text which will be used 2" + }, + { + "title":"Title3", + "date":"August 30, 2022", + "stars":[5,0], + "description":"This is the text which will be used 3" + }, + ]) +}} {% row(style="left" margin="none" reverse="rightreserve" padding="bottom") %} diff --git a/templates/shortcodes/reviews.html b/templates/shortcodes/reviews.html index d2a2399..4a6abb3 100644 --- a/templates/shortcodes/reviews.html +++ b/templates/shortcodes/reviews.html @@ -12,6 +12,9 @@
+ + + @@ -30,7 +33,8 @@ - + +