.
This commit is contained in:
parent
071a4d8a97
commit
4d3ca1c554
39 changed files with 3386 additions and 0 deletions
26
layouts/_default/baseof.html
Normal file
26
layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language.Lang }}" class="scroll-smooth dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }}</title>
|
||||
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
||||
</head>
|
||||
<body class="min-h-screen bg-white text-gray-900 dark:bg-pizza-dark dark:text-white">
|
||||
{{ partial "header.html" . }}
|
||||
<main class="pt-24">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
<!-- JavaScript -->
|
||||
<script src="{{ "js/main.js" | relURL }}"></script>
|
||||
<script src="{{ "js/theme.js" | relURL }}" defer></script>
|
||||
<script src="/js/menu.js"></script>
|
||||
{{ with resources.Get "js/opening-status.js" }}
|
||||
{{ with . | resources.Minify }}
|
||||
<script src="{{ .RelPermalink }}"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue