|
|
@ -1,6 +1,18 @@ |
|
|
|
{{ $hasGetintouch := default false (index .Params "get_in_touch") }} |
|
|
|
{{ $hasMotto := or .IsHome ( default false (index .Params "motto")) }} |
|
|
|
|
|
|
|
<footer> |
|
|
|
{{ if default false (index .Params "get_in_touch") }} |
|
|
|
{{- partial "getintouch.html" . -}} |
|
|
|
{{ if or $hasMotto $hasGetintouch }} |
|
|
|
<div class="container footer-elements"> |
|
|
|
{{ if $hasMotto }} |
|
|
|
<div class="motto"> |
|
|
|
<small><em>For the glory of mankind.</em></small> |
|
|
|
</div> |
|
|
|
{{ end }} |
|
|
|
{{ if $hasGetintouch }} |
|
|
|
{{- partial "getintouch.html" . -}} |
|
|
|
{{ end }} |
|
|
|
</div> |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
<div class="container footer"> |
|
|
|