From 56f934968d4291473583c4e7b685dc99c058ee87 Mon Sep 17 00:00:00 2001 From: Drew Varner Date: Mon, 2 Dec 2019 12:06:23 -0500 Subject: [PATCH 1/3] Port to Boostrap 4 --- exampleSite/config.toml | 19 +- layouts/_default/list.html | 25 +- layouts/partials/carousel.html | 36 +- layouts/partials/clients.html | 46 +- layouts/partials/contact.html | 2 +- layouts/partials/features.html | 4 +- layouts/partials/footer.html | 134 +- layouts/partials/head.html | 9 +- layouts/partials/map.html | 10 +- layouts/partials/nav.html | 113 +- layouts/partials/recent_posts.html | 54 +- layouts/partials/scripts.html | 20 +- layouts/partials/see_more.html | 7 +- layouts/partials/top.html | 20 +- layouts/partials/widgets/categories.html | 8 +- layouts/partials/widgets/tags.html | 6 +- static/css/animate.css | 3158 ----------- static/css/custom.css | 11 +- static/css/owl.carousel.css | 70 - static/css/owl.theme.css | 69 - static/css/style.blue.css | 6078 ++++++++++----------- static/css/style.default.css | 6132 +++++++++++----------- static/css/style.green.css | 6078 ++++++++++----------- static/css/style.lightblue.css | 3702 +++++++++++++ static/css/style.marsala.css | 6078 ++++++++++----------- static/css/style.pink.css | 6078 ++++++++++----------- static/css/style.red.css | 6078 ++++++++++----------- static/css/style.turquoise.css | 3566 ------------- static/css/style.violet.css | 6078 ++++++++++----------- static/js/front.js | 592 +-- static/js/owl.carousel.min.js | 1 - static/js/owl.carousel2.thumbs.min.js | 2 + static/js/respond.min.js | 6 - 33 files changed, 25947 insertions(+), 28343 deletions(-) delete mode 100644 static/css/animate.css delete mode 100644 static/css/owl.carousel.css delete mode 100644 static/css/owl.theme.css create mode 100644 static/css/style.lightblue.css delete mode 100644 static/css/style.turquoise.css delete mode 100644 static/js/owl.carousel.min.js create mode 100644 static/js/owl.carousel2.thumbs.min.js delete mode 100644 static/js/respond.min.js diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e91ddb2c6..e3692d7e5 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -127,11 +127,8 @@ paginate = 10 # Enable or disable top bar with social icons [params.topbar] enable = true - text = """ - - """ + text = """

Contact us on +420 777 555 333 or hello@universal.com.

+ """ # Enable and disable widgets for the right sidebar [params.widgets] @@ -143,35 +140,35 @@ paginate = 10 enable = true # All carousel items are defined in their own files. You can find example items # at 'exampleSite/data/carousel'. - # For more informtion take a look at the README. + # For more information take a look at the README. [params.features] enable = true # All features are defined in their own files. You can find example items # at 'exampleSite/data/features'. - # For more informtion take a look at the README. + # For more information take a look at the README. [params.testimonials] enable = true # All testimonials are defined in their own files. You can find example items # at 'exampleSite/data/testimonials'. - # For more informtion take a look at the README. + # For more information take a look at the README. title = "Testimonials" subtitle = "We have worked with many clients and we always like to hear they come out from the cooperation happy and satisfied. Have a look what our clients said about us." [params.see_more] enable = true - icon = "far fa-file-alt" + icon = "far fa-file-code" title = "Do you want to see more?" subtitle = "We have prepared for you more than 40 different HTML pages, including 5 variations of homepage." link_url = "#" - link_text = "Check other homepages" + link_text = "See another homepage" [params.clients] enable = true # All clients are defined in their own files. You can find example items # at 'exampleSite/data/clients'. - # For more informtion take a look at the README. + # For more information take a look at the README. title = "Our Clients" subtitle = "" diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 647dddce4..7aec0738f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -17,7 +17,7 @@
-
+
-

{{ .Title }}

-
+

{{ .Title }}

+

{{ if isset .Params "author" }} {{ i18n "authorBy" }} {{ .Params.author }} {{ end }} {{ if isset .Params "categories" }} {{ if gt (len .Params.categories) 0 }} - in {{ index .Params.categories 0 }} + in {{ index .Params.categories 0 }} {{ end }} {{ end }} @@ -56,24 +55,24 @@

{{ .Title }}

{{ .Summary }}

-

{{ i18n "continueReading" }} +

{{ i18n "continueReading" }}

{{ end }} -
diff --git a/layouts/partials/carousel.html b/layouts/partials/carousel.html index e61477358..80a47a337 100644 --- a/layouts/partials/carousel.html +++ b/layouts/partials/carousel.html @@ -1,29 +1,33 @@ {{ if isset .Site.Params "carousel" }} {{ if .Site.Params.carousel.enable }} {{ if gt (len .Site.Data.carousel) 0 }} -
-