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: b9b31f9f1ea50fc71588a4b773530c8a8cb7f180 (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
<!DOCTYPE html>
<html lang='{{ .Site.LanguageCode }}'>
{{- partial "head.html" . -}}

<body class="flex flex-col min-h-screen">
    <header class="flex items-center fixed w-full min-h-16 z-50 bg-secondary-bg shadow-sm">
        <div class="container mx-auto">
            <div class="max-w-screen-xl">
                {{- partial "header.html" . -}}
            </div>
        </div>
    </header>

    <main class="flex-grow pt-16">
        {{ if .IsHome }}
        {{- block "main" . }}{{- end }}
        {{ else }}
        <div class="container mx-auto ">
            <div class="max-w-screen-xl lg:px-4 xl:px-8">
                {{- block "main" . }}{{- end }}
            </div>
        </div>
        {{ end }}
    </main>

    <footer>
        <div class="container mx-auto">
            <div class="max-w-screen-xl">
                {{- partial "footer.html" . -}}
            </div>
        </div>
    </footer>
</body>

</html>