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

simple.html « footers « partials « layouts - github.com/pjbakker/flexible-seo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ddd92f91c5f8f8e804b765dec30eef1f077bbcaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <footer class="my-5 pt-5 text-muted text-center text-small">
    <p class="mb-1">&copy;
      {{- if .Site.Params.since }}
        {{ .Site.Params.since }} -
      {{- end }}
      {{ .Site.LastChange.Format "2006" }}

      {{- if .Site.Author.name }}
        {{- if .Site.Author.website }}
          <a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a>
        {{- else }}
          {{ .Site.Author.name }}
        {{- end }}
      {{- end }}
    </p>
    <ul class="list-inline">
      {{- range $link, $name := .Site.Params.footerLinks }}
      <li class="list-inline-item"><a href="{{ $link }}">{{ $name }}</a></li>
      {{- end }}
    </ul>
  </footer>