diff --git a/content/home/index.md b/content/home/index.md index d2c1113..c71fa18 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -7,9 +7,34 @@ draft: false weight: 1 --- +
+ + + + + +{% hero( + + hero_subtitle = "Very proud to introduce" + hero_title = "Revolutionary way to build the web" + hero_text = "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." + hero_img = "https://images.unsplash.com/photo-1618004912476-29818d81ae2e?auto=format&q=75&fit=crop&w=1000" + hero_link1 = "#" + hero_link1_name = "Start Now" + hero_link2 = "#" + hero_link2_name = "Take tour" + +) %} + +# test + +{% end %} + + + -
+ {% cta( diff --git a/templates/shortcodes/hero.html b/templates/shortcodes/hero.html new file mode 100644 index 0000000..2bc5ee0 --- /dev/null +++ b/templates/shortcodes/hero.html @@ -0,0 +1,23 @@ +
+ +
+

{{ hero_subtitle }}

+ +

{{ hero_title }}

+ +

{{ hero_text }}

+ + +
+ + + +
+ Photo by Fakurian Design +
+ +
\ No newline at end of file