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

baseof.html « _default « layouts - github.com/fiatjaf/classless-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ebd2efe241d785babd1b1519ca0e9cd5f39a980a (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>

<head>
  <meta charset="utf-8">
  <meta name="description" content="{{ block "description" . }}{{.Site.Params.description}}{{ end }}">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=yes">
  <title>{{ block "title" . }}{{.Site.Title}}{{ end }}</title>
  <link rel="stylesheet" href="https://cdn.rawgit.com/fiatjaf/classless/{{$.Param "commit_sha"}}/themes/{{$.Param "theme"}}/theme.css">
</head>
<body>
  <header role="banner">
    {{ if .Site.Params.cover }}
    <a href="{{.Site.BaseURL}}"><img src="{{.Site.Params.cover}}"></a>
    {{ end }}
    <h1>
      <a href="{{.Site.BaseURL}}">{{.Site.Title}}</a>
    </h1>
    <aside>
      <p>{{.Site.Params.description}}</p>
    </aside>
  </header>
  <nav>
    <ul>
      {{ range .Site.Menus.main }}
      <li>
        <a href="{{.URL}}">{{.Name}}</a>
      </li>
      {{ end }}
    </ul>
  </nav>
  <main>
  {{ block "main" . }}
  {{ end }}
  </main>
  <aside>
    {{ block "aside" . }}
      {{ partial "aside.html" . }}
    {{ end }}
  </aside>
  <footer role="contentinfo">
    {{ block "footer" . }}
      {{ partial "footer.html" . }}
    {{ end }}
  </footer>
</body>