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 @@