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

footer.html « partials « layouts - github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 878ec2b681fb4845dc608fe84ae4a1b9ee076f01 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<footer>
  {{ if eq .Kind "section" }}
  <div>
    {{ template "_internal/pagination.html" . }}
  </div>
  {{ end }} {{ if eq .Kind "page" }}
  <div class="prev-next">
    {{- if .PrevInSection }}
    <a
      class="active"
      href="{{ .PrevInSection.Permalink | relURL }}"
      aria-label="Previous Article"
      >Previous</a
    >
    {{- else }}
    <div class="disabled">N/A</div>
    {{- end }}
    <a href="#" aria-label="navigate to top">Top</a>
    {{- if .NextInSection }}
    <a
      class="active"
      href="{{ .NextInSection.Permalink | relURL }}"
      aria-label="Next Article"
      >Next</a
    >
    {{- else }}
    <div class="disabled">N/A</div>
    {{- end }}
  </div>
  {{ end }}

  <div class="footer">
    <p>
      {{ if .Site.Params.theme.copyrightInFooter }}
      &copy;
      {{end}}
      {{ dateFormat "2006" now }} {{ .Site.Params.author }}.
      {{ .Site.Params.theme.footerText | markdownify }}.
    </p>
    <p>
      <a href="https://github.com/urjaacharya/redgood">
        {{- print "redgood" -}}
      </a>
      by
      <a
        href="https://www.urjaacharya.com/"
        aria-label="link to urja acharya site"
      >
        {{- print "urja acharya" -}}
      </a>
    </p>
  </div>
</footer>