aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/footer.html
blob: 5faf5c65b60a440b912972f7821c96b5f2445bfe (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
{{ 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 | markdownify }}</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 }}