Welcome to mirror list, hosted at ThFree Co, Russian Federation.

footer.html « partials « layouts - github.com/spech66/bootstrap-bp-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fe596cd8188716fd6acb078b25138b168ce00cb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<footer class="navbar-light border-top">
    <div class="container">
        <div class="row">
            <div class="col-12 col-md-3 mb-3">
                <h5>{{ .Site.Title }}</h5>
                {{ .Site.Params.description }}
            </div>
            <div class="col-12 col-md-3 mb-3">
                <h5>{{ i18n "social" }}</h5>
                <ul class="list-unstyled list-inline">
                    {{- partial "social.html" . -}}
                </ul>
            </div>
            <div class="col-12 col-md-3 mb-3">
                <h5>{{ i18n "site" }}</h5>
                <ul class="list-unstyled">
                    {{ range $index, $element := .Site.Menus.footer }}
                        {{ if .HasChildren }}
                            <li><a href="{{ .URL }}">{{ .Pre }} {{ .Name }}</a></li>
                            {{ range .Children }}
                                <li><a href="{{ .URL }}">{{ .Pre }} {{ .Name }}</a></li>
                            {{ end }}
                        {{ else }}
                            <li><a href="{{ .URL }}">{{ .Pre }} {{ .Name }}</a></li>
                        {{ end }}
                    {{ end }}
                </ul>
            </div>
            <div class="col-12 col-md-3 mb-3">
                {{ partial "i18nlist.html" . }}

                &copy; {{ now.Format "2006" }} {{ range .Site.Author }}{{ . }}{{ end }}<br/>
                {{ i18n "themeby" }} <a href="https://www.spech.de" target="_blank" rel="noopener noreferrer">Sebastian Pech</a>.
            </div>
        </div>
    </div>
</footer>