chronik fixes, config, banner, index etc.

This commit is contained in:
2022-12-15 10:42:28 +01:00
parent 3e3e6d0f8d
commit ad866d0907
98 changed files with 189 additions and 267 deletions

View File

@ -15,7 +15,7 @@
<li class="list-inline-item">
<a class="text-color mr-3" href="tel:{{ .Site.Params.mobile }}"><strong>{{ i18n "call" | upper }} : </strong> {{ .Site.Params.mobile }}</a></li>
<li class="list-inline-item">
<a class="text-color" href="mailto:{{ .Site.Params.email }}"><strong>{{ i18n "email" | upper }} : </strong> {{ .Site.Params.email_preatty | safeHTML }}</a></li>
<a class="text-color" href="mailto:{{ .Site.Params.email }}"><strong>{{ i18n "email" | upper }} : </strong> {{ .Site.Params.email_pretty | safeHTML }}</a></li>
</ul>
</div>
</div>
@ -88,4 +88,17 @@
}
</style>
</noscript>
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ if $data.homepage.top_banner.enable }}
{{ with $data.homepage.top_banner }}
<div class="p-2" style="background:{{.color}}">
<div class="container">
<div class="no-gutters align-items-center">
<p style="color:{{.font_color}}"><b><i class="fa-solid fa-circle-info"></i> {{ .text }}</b></p>
</div>
</div>
</div>
{{ end }}
{{ end }}
</header>