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: f0c644e62bc24d67d5f879fcb1e8a4f929e28dee (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
<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"
      ><i class="bi bi-arrow-left-circle"></i
    ></a>
    {{- else }}
    <div class="disabled"><i class="bi bi-arrow-left-circle"></i></div>
    {{- end }}
    <a href="#" aria-label="navigate to top"
      ><i class="bi bi-box-arrow-in-up"></i></a>
    {{- if .NextInSection }}
    <a
      class="active"
      href="{{ .NextInSection.Permalink | relURL }}"
      aria-label="Next Article"
      ><i class="bi bi-arrow-right-circle"></i
    ></a>
    {{- else }}
    <div class="disabled"><i class="bi bi-arrow-right-circle"></i></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>