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: 6d9feb9fbbd980f8f19f82c22cdd57bdeae4590d (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
54
55
56
<footer>
  <!-- Pagination for list pages -->
  {{ if eq .Kind "section" }}
  <div>{{ template "_internal/pagination.html" . }}</div>
  {{ end }}
  <!-- Previous/Next articles -->
  {{ if eq .Kind "page" }}
  <div class="prev-next">{{ partial "prevNext" .}}</div>
  {{ end }}
  <div class="footer shadow round-corner">
    <!-- Recent Posts -->
    <div class="grid-container">
      <div class="footer-recent-posts">
        <h6>Recent Posts</h6>
        <ol>
          {{ range ((where .Site.Pages "Kind" "page").ByDate.Reverse) | first 7 }}
          <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
          {{ end }}
        </ol>
        <a href="{{ `archive` | relURL }}">...ALL POSTS</a>
        <hr class="mobile white-hr" />
      </div>
      <div>
        {{ partial "index/siteSections.html" . }}
        {{ partial "taxa" (dict "taxo" .Site.Taxonomies "mysite" .) }}
        <hr class="mobile white-hr" />
      </div>
    </div>
    <!-- Footer info from config -->
    <div class="footer-info-text">
      <p>
        {{ if .Site.Params.theme.copyrightInFooter }}<span>&copy;</span>{{end}}
        <span>{{ dateFormat "2006" now }}</span>
        <span>{{ .Site.Params.author }}.</span>
        <span>{{ .Site.Params.theme.footerText | markdownify }}.</span>
      </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>
    <div style="text-align: right; margin-bottom: 0.25em; font-size: 1.2em">
      <a class="primary-icon to-top" href="#" aria-label="navigate to top">
        <i class="bi bi-arrow-up-circle-fill"></i>
      </a>
    </div>
  </div>
</footer>