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

baseof.html « _default « layouts - github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 71691f1e50b716d2ab3442a98058dae2b32f1f5b (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
<!DOCTYPE html>
<html lang='{{ .Site.LanguageCode }}' dir='{{ .Site.Language.LanguageDirection | default "ltr" }}' {{ if eq .Site.Params.colorScheme "dark" }}class="dark" {{ end }}>
{{- partial "head" . }}

<body class="flex flex-col min-h-screen">
  <header class="fixed flex items-center w-full min-h-16 ps-scrollbar z-50 bg-secondary-bg shadow-sm">
    <div class="w-full max-w-screen-xl mx-auto">
      {{- partial "header" . -}}
    </div>
  </header>
  <main class="flex-grow pt-16">
    {{- if or .IsHome (and (eq .Type "authors") (eq .Kind "term")) }}
    {{- block "main" . }}{{- end }}
    {{- else }}
    <div class="ps-scrollbar">
      <div class="w-full max-w-screen-xl lg:px-4 xl:px-8 mx-auto">
        {{- block "main" . }}{{- end }}
      </div>
    </div>
    {{ end }}
  </main>
  <footer class="ps-scrollbar">
    <div class="w-full max-w-screen-xl mx-auto">
      {{- partial "footer" . -}}
    </div>
  </footer>
</body>

</html>