From 240ce7ad145a28e3329ec454b733fabaff8f0d44 Mon Sep 17 00:00:00 2001 From: despiegk Date: Wed, 29 Nov 2023 11:46:54 +0300 Subject: [PATCH] init --- content/home/index.md | 18 ++- tailwind.config.js | 4 +- templates/shortcodes/mycomponent.html | 13 +++ templates/shortcodes/reviews.html | 151 ++++++++++++++++++++++++++ templates/shortcodes/test.html | 5 - templates/shortcodes/youtube.html | 8 ++ 6 files changed, 190 insertions(+), 9 deletions(-) create mode 100644 templates/shortcodes/mycomponent.html create mode 100644 templates/shortcodes/reviews.html delete mode 100644 templates/shortcodes/test.html create mode 100644 templates/shortcodes/youtube.html diff --git a/content/home/index.md b/content/home/index.md index 36859c0..8943664 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -9,6 +9,7 @@ weight: 1 +{{ reviews() }} {% row(style="left" margin="none" reverse="rightreserve" padding="bottom") %} @@ -23,9 +24,20 @@ weight: 1 ## h2 title -{% test(subject="My Subject") %} -{% fflow_grid() %} - ... + + + +{{ mycomponent( + subject="My Subject", + items=[ + "aaa", + "bbb", + "cccc" + ] + ) +}} + + ### h3 subtitle diff --git a/tailwind.config.js b/tailwind.config.js index 2331478..a08b26c 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -14,5 +14,7 @@ module.exports = { theme: { extend: {}, }, - plugins: [], + plugins: [ + require('@tailwindcss/typography'), + ], } diff --git a/templates/shortcodes/mycomponent.html b/templates/shortcodes/mycomponent.html new file mode 100644 index 0000000..ceafd2d --- /dev/null +++ b/templates/shortcodes/mycomponent.html @@ -0,0 +1,13 @@ + + + +
+

{{subject}}

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

Customer Reviews

+ +
+
+ Total + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + Bases on 27 reviews +
+ + Write a review +
+ +
+ +
+
+ John McCulling + August 28, 2021 +
+ + +
+ + + + + + + + + + + + + + + + + + + +
+ + +

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. It may be used to display a sample of fonts or generate text for testing.

+
+ + + +
+
+ Kate Berg + July 21, 2021 +
+ + +
+ + + + + + + + + + + + + + + + + + + +
+ + +

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. It may be used to display a sample of fonts or generate text for testing.

+
+ + + +
+
+ Greg Jackson + March 16, 2021 +
+ + +
+ + + + + + + + + + + + + + + + + + + +
+ + +

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. It may be used to display a sample of fonts or generate text for testing.

+
+ +
+
+
+
diff --git a/templates/shortcodes/test.html b/templates/shortcodes/test.html deleted file mode 100644 index e55493a..0000000 --- a/templates/shortcodes/test.html +++ /dev/null @@ -1,5 +0,0 @@ - - -
-

{{ subject }}

-
\ No newline at end of file diff --git a/templates/shortcodes/youtube.html b/templates/shortcodes/youtube.html new file mode 100644 index 0000000..e85468e --- /dev/null +++ b/templates/shortcodes/youtube.html @@ -0,0 +1,8 @@ +
+ +
\ No newline at end of file