2022-08-24 06:32:40 +03:00
|
|
|
<!-- set data/config yaml file based on website language -->
|
|
|
|
{{ $config := cond (eq $.Site.Language.Lang "en") "config" (printf "config.%s" $.Site.Language.Lang) }}
|
|
|
|
{{ $data := index $.Site.Data $config }}
|
2021-12-27 23:59:19 +03:00
|
|
|
<!-- Contact Info -->
|
|
|
|
<div id="contact_buttons">
|
|
|
|
<footer>
|
2022-08-24 06:32:40 +03:00
|
|
|
{{ $name := $data.name | default $.Site.Data.config.name }}
|
|
|
|
{{ $year := dateFormat "2006" now }}
|
|
|
|
<p>{{ i18n "copyright" (dict "name" $name "year" $year) | safeHTML}}</p>
|
2022-04-03 00:50:58 +03:00
|
|
|
<ul>
|
|
|
|
{{ if not .IsHome }}
|
2022-08-24 06:32:40 +03:00
|
|
|
<li><a href="{{ $.Site.BaseURL}}">{{ i18n "home" }}</a></li>
|
2022-04-03 00:50:58 +03:00
|
|
|
{{end}}
|
2022-08-24 06:32:40 +03:00
|
|
|
{{- range $data.links | default $.Site.Data.config.links -}}
|
2022-04-03 00:50:58 +03:00
|
|
|
<li><a href="{{.link}}">{{.link_name}}</a></li>
|
|
|
|
{{- end -}}
|
|
|
|
</ul>
|
2021-12-27 23:59:19 +03:00
|
|
|
</footer>
|
2022-04-02 19:37:12 +03:00
|
|
|
</div>
|