Compare commits

...

5 commits

Author SHA1 Message Date
bettina
708076cd8c uncomment message and add infos to readme.md
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 53s
2024-08-06 08:24:32 +02:00
bettina
c4ae830914 try to use alert on start-page
Some checks failed
Build and Deploy Hugo Site / buildAndDeploy (push) Failing after 28s
2024-08-06 08:12:59 +02:00
bettina
1c4690209d edit text
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 53s
2024-08-06 08:06:23 +02:00
bettina
80534da82e edit format
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 58s
2024-08-06 08:02:43 +02:00
bettina
453194ef8c try to show de-message on index-site ... for next server-probs ;)
Some checks failed
Build and Deploy Hugo Site / buildAndDeploy (push) Failing after 42s
2024-08-06 07:49:54 +02:00
2 changed files with 35 additions and 0 deletions

View file

@ -20,6 +20,7 @@ Production site: <a target="_blank" href="https://verua.swiss/" rel="nofollow">v
- [Usage / Update Content](#usage--update-content) - [Usage / Update Content](#usage--update-content)
- [Editing Content](#editing-content) - [Editing Content](#editing-content)
- [Show ALERT-message on index-page](#show-alert-message-on-index-page)
- [Images](#images) - [Images](#images)
- [Shortcodes](#shortcodes) - [Shortcodes](#shortcodes)
- [Custom Shortcodes exclusively for VeruA.ch](#custom-shortcodes-exclusively-for-veruach) - [Custom Shortcodes exclusively for VeruA.ch](#custom-shortcodes-exclusively-for-veruach)
@ -68,6 +69,15 @@ translationKey: "a-page-about-cats"
For example, the german version of the VeruA.ch website is located in the `content/german` folder. The french version is located in the `content/french` folder. Both are linked by the translation key `a-page-about-cats`. For example, the german version of the VeruA.ch website is located in the `content/german` folder. The french version is located in the `content/french` folder. Both are linked by the translation key `a-page-about-cats`.
[](#table-of-contents)
### Show ALERT-message on index-page
For a important message on start-page use the text-part in hugoplate under **themes/hugoplate/layouts/index.html**
Remove start- and end-tag {{/* */}} for each language and edit the text.
[](#table-of-contents) [](#table-of-contents)
### Images ### Images

View file

@ -1,5 +1,29 @@
{{/* Home Template File */}} {{/* Home Template File */}}
{{ define "main" }} {{ define "main" }}
<!-- IMPORTANT MESSAGE on index-page -->
{{/* {{ if eq .Site.Language.Lang "de" }}
<div class="container">
<div class="bg-white my-5 text-slate-900 px-4 py-3 " role="alert">
<div class="flex">
<div class="py-1"><svg class="fill-current h-6 w-6 text-teal-500 mr-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM9 11V9h2v6H9v-4zm0-6h2v2H9V5z"/></svg></div>
<div>
<p class="font-bold">WICHTIGE MELUNG</p>
<p class="text-sm">Auf dem Server verua.ch war ein technische Update nötig, um die Sicherheit der VeruA App weiter zu gewährleisten.
Diese Anpassungen haben wir durch unseren Webhosting Anbieter KreativMedia durchführen lassen.
Das geplante Zeitfenster lag zwischen 12:00 Uhr und 15:00 Uhr.
<br/>
Da sehr viele Instanzen auf diesem Server bereitgestellt werden, kam es bei der Ausführung zu Problemen.
<br/>
<b>Aus diesem Grund sind aktuell einige Instanzen der VeruA App nicht erreichbar</b>
<br/>
KreativMedia sucht unter Hochdruck nach einer Lösung für die Probleme.
Wir hoffen, dass bald eine Lösung gefunden wird und die Applikation wieder wie gewohnt läuft.<br><br></p>
</div>
</div>
</div>
</div>
{{ end }} */}}
{{/* {{ if eq .Site.Language.Lang "fr" }} {{/* {{ if eq .Site.Language.Lang "fr" }}
<div class="container"> <div class="container">
<div class="bg-white my-5 text-slate-900 px-4 py-3 " role="alert"> <div class="bg-white my-5 text-slate-900 px-4 py-3 " role="alert">
@ -16,6 +40,7 @@
</div> </div>
</div> </div>
{{ end }} */}} {{ end }} */}}
<!-- Hero Slider --> <!-- Hero Slider -->
<section class="hero-slider h-screen md:h-1/4"> <section class="hero-slider h-screen md:h-1/4">
<div class="verua-slider-wrapper"> <div class="verua-slider-wrapper">