From 99e790efa5da32201ed838afdbbc1e947d440978 Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Thu, 18 Apr 2024 13:34:51 +0200 Subject: [PATCH] deactivated unused plugins --- config/_default/params.toml | 12 +++---- go.mod | 2 +- themes/hugoplate/assets/js/main.js | 52 ++++++++++++++---------------- 3 files changed, 32 insertions(+), 34 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 628e1e7..a9d6c28 100755 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -31,7 +31,7 @@ copyright = "Designed & Developed by [Andreas Hnida](https://andreashnida.de) | # Preloader # preloader module: https://github.com/gethugothemes/hugo-modules/tree/master/components/preloader [preloader] -enable = false +enable = true preloader = "" # use jpg, png, svg or gif format. # Navigation button @@ -55,10 +55,10 @@ show_categories = true # seo meta data for OpenGraph / Twitter Card # seo module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/basic-seo [metadata] -keywords = ["Boilerplate", "Hugo"] -description = "Hugo & Tailwindcss Starter" -author = "zeon.studio" -image = "images/og-image.png" +keywords = ["VeruA", "SaaS", "Pflege", "Abrechnung", "Webseite", "Template", "Design", "Theme", "Hugo"] +description = "VeruA ist ein SaaS-System für die Verwaltung und Abrechnung von Pflegeabrechnungen." +author = "Andreas Hnida" +image = "images/verua_logo_w.png" # site verifications @@ -73,7 +73,7 @@ mastodon = "" # Your verification code # cookies # cookies module: https://github.com/gethugothemes/hugo-modules/tree/master/components/cookie-consent [cookies] -enable = true +enable = false expire_days = 60 content = "Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen." button = "Verstanden" diff --git a/go.mod b/go.mod index fcbba09..694afb5 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240207043320-fa42312441f5 // indirect github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240207043320-fa42312441f5 // indirect - github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240207043320-fa42312441f5 // indirect + github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240417032207-612e47c108d7 // indirect github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240207043320-fa42312441f5 // indirect github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240207043320-fa42312441f5 // indirect github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240207043320-fa42312441f5 // indirect diff --git a/themes/hugoplate/assets/js/main.js b/themes/hugoplate/assets/js/main.js index 59272a5..2a04672 100755 --- a/themes/hugoplate/assets/js/main.js +++ b/themes/hugoplate/assets/js/main.js @@ -1,36 +1,34 @@ // main script -(function () { - "use strict"; +;(function () { + 'use strict' // Dropdown Menu Toggler For Mobile // ---------------------------------------- - const dropdownMenuToggler = document.querySelectorAll( - ".nav-dropdown > .nav-link", - ); + const dropdownMenuToggler = document.querySelectorAll('.nav-dropdown > .nav-link') dropdownMenuToggler.forEach((toggler) => { - toggler?.addEventListener("click", (e) => { - e.target.closest(".nav-item").classList.toggle("active"); - }); - }); + toggler?.addEventListener('click', (e) => { + e.target.closest('.nav-item').classList.toggle('active') + }) + }) // Testimonial Slider // ---------------------------------------- - new Swiper(".testimonial-slider", { - spaceBetween: 24, - loop: true, - pagination: { - el: ".testimonial-slider-pagination", - type: "bullets", - clickable: true, - }, - breakpoints: { - 768: { - slidesPerView: 2, - }, - 992: { - slidesPerView: 3, - }, - }, - }); -})(); + // new Swiper(".testimonial-slider", { + // spaceBetween: 24, + // loop: true, + // pagination: { + // el: ".testimonial-slider-pagination", + // type: "bullets", + // clickable: true, + // }, + // breakpoints: { + // 768: { + // slidesPerView: 2, + // }, + // 992: { + // slidesPerView: 3, + // }, + // }, + // }); +})()