- add page "internal regulations"

- change training pages display
- add footer link and social networks
This commit is contained in:
2025-02-03 18:14:42 +01:00
parent fe951aff71
commit 1f4eef5fa1
28 changed files with 500 additions and 40 deletions

View File

@@ -26,14 +26,20 @@
{{ end }}
{{ $back_to_home := .Site.Params.back_to_home }}
{{ $back_link := "/" | relLangURL}}
{{ $use_history := false }}
{{ with .Parent }}
{{ $back_link = .RelPermalink | relLangURL }}
{{ end }}
<div id="site-menu" class="inner">
{{ with .Param "back_link" }}
{{ $use_history = hasPrefix . "history(-1)" }}
{{ $back_link = . | relLangURL }}
{{ end }}
<div id="site-menu" class="inner">
{{ if $use_history }}
<a class='btn site-menu' href='javascript:window.history.back()'><i class="fa fa-angle-left"></i>&nbsp;{{ $back_to_home }}</a>
{{ else }}
<a class='btn site-menu' href='{{ $back_link }}'><i class="fa fa-angle-left"></i>&nbsp;{{ $back_to_home }}</a>
{{ end }}
</div>
</div>
</div>