- add page "internal regulations"
- change training pages display - add footer link and social networks
This commit is contained in:
@@ -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> {{ $back_to_home }}</a>
|
||||
{{ else }}
|
||||
<a class='btn site-menu' href='{{ $back_link }}'><i class="fa fa-angle-left"></i> {{ $back_to_home }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user