aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/footer.html
blob: 6187f613af7dede4b913101c43b59a2899364f63 (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
{{ if .Site.Params.enableCustomHTML }}
  {{ partial "custom/above-footer" . }}
{{ end }}

<div class="footer">
  <div class="contain">
    <p><strong class="bold">&copy; {{ .Site.Title }}, {{ now.Year }}</strong>
       &nbsp; • &nbsp; <a href="#">{{ T "backToTop" }}</a>
    </p>

    <p>{{ .Site.Params.description }}</p>

    <!-- Please keep this one around to help cState grow <3 -->
    <small class="footer__copyright faded">{{ T "poweredBy" }} <a href="https://github.com/cstate/cstate"><b>cState</b></a></small>

    <hr>

    <p class="hinted">
      <small>
        {{ T "rss" }} —
        {{ with $.Site.Home.OutputFormats.Get "rss" }}
          <a href="{{ .Permalink }}" class="no-underline">{{ T "toAllUpdates" }}</a>
        {{ end }}
        {{ if not .IsHome }}
        {{ with .OutputFormats.Get "rss" }}
          {{ T "or" }} <a href="{{ .Permalink }}" class="no-underline">{{ T "onlyThisFeed" }} ({{ $.Title }})</a>
        {{ end }}
        {{ end }}
      </small>
    </p>
  </div>
</div>

{{ if .Site.Params.enableCustomHTML }}
  {{ partial "custom/below-footer" . }}
{{ end }}