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

404.html « layouts - github.com/jmablog/hugo-clinic-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2857b2ee1feadd53fcf16d50262d50dea90f7b33 (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
<!DOCTYPE html>
<html class="" lang="{{ .Site.LanguageCode }}">

  <head>

    <meta charset="utf-8" />
    <title>{{ .Site.Title }}</title>
    <link rel="canonical" href="{{ .Permalink }}" />
    {{ partial "head-includes.html" . }}
  </head>

  <body lang="{{ .Site.LanguageCode }}" class="w-2/5 mx-auto py-10">
    <section id="main">
      <div>
        <h1 id="title" class="font-bold mb-5">
          No file found. Go to:
        </h1>
        <ul class="">

          {{ range .Site.Params.menu }}
          <li class="my-2">
            <a class="link" href="{{ .url }}">{{ .name }}</a>
          </li>
          <!-- prettier-ignore -->
          {{ end }}

          <li class="my-2">
            {{ range first 1 ( site.RegularPages.ByDate.Reverse )}}
            <a class="link" href="{{.Permalink}}">Most recent note by date</a>
            {{end}}
          </li>

          <li class="my-2">
            {{ range first 1 (sort site.RegularPages "Lastmod" "desc")}}
            <a class="link" href="{{.Permalink}}">Last modified note</a>
            {{end}}
          </li>

        </ul>
      </div>
    </section>

    {{ partial "footer.html" . }}
  </body>
</html>