From 130b3edeb7f9b52083a4af73f4ce5dccffa3ac2a Mon Sep 17 00:00:00 2001 From: Sven Jorns Date: Thu, 9 Mar 2023 02:51:21 +0300 Subject: [PATCH] add Whatsapp Button, overview of pages in sections with extra template, metadata for facebook --- content/_index.md | 1 + sass/home.scss | 2 +- static/images/WhatsAppButtonGreenSmall.svg | 1 + templates/_macros.html | 98 +++++++++++----------- templates/_page_macros.html | 9 ++ templates/_section_macros.html | 10 +++ templates/base.html | 3 +- templates/index.html | 1 + templates/page.html | 12 +++ templates/section.html | 19 ++++- templates/section_summary.html | 31 +++++++ templates/shortcodes/whatsapp.html | 3 + 12 files changed, 135 insertions(+), 55 deletions(-) create mode 100644 static/images/WhatsAppButtonGreenSmall.svg create mode 100644 templates/_page_macros.html create mode 100644 templates/section_summary.html create mode 100644 templates/shortcodes/whatsapp.html diff --git a/content/_index.md b/content/_index.md index 47945d4..6dd55b7 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,3 +2,4 @@ title = 'We Help Power Millions Of Businesses in 100+ Countries' description = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s." +++ + diff --git a/sass/home.scss b/sass/home.scss index c715eaf..5d35554 100644 --- a/sass/home.scss +++ b/sass/home.scss @@ -44,7 +44,7 @@ body { } } .hero { - padding-top: 110px; + padding-top: 40px; .section-cont { display: flex; justify-content: center; diff --git a/static/images/WhatsAppButtonGreenSmall.svg b/static/images/WhatsAppButtonGreenSmall.svg new file mode 100644 index 0000000..fdd6776 --- /dev/null +++ b/static/images/WhatsAppButtonGreenSmall.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/_macros.html b/templates/_macros.html index 20ae43d..161ee9e 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -10,31 +10,31 @@