mirror of
https://gitlab.com/EternalWanderer/vugo.git
synced 2025-06-08 14:24:26 +02:00
Proper theme basis
This commit is contained in:
parent
f474eb76e0
commit
9b0b8dfcf1
27 changed files with 318 additions and 102 deletions
22
layouts/_default/baseof.html
Normal file
22
layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ $.Site.Language }}">
|
||||
<head>
|
||||
{{ block "title" . }}
|
||||
<title>{{ if .IsHome }}{{ $.Site.Title }}{{ else }}{{ .Title }} | {{ $.Site.Title }}{{ end }}</title>
|
||||
{{ end }}
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "logo.html" . }}
|
||||
{{ partial "menu.html" . }}
|
||||
<h1 class="page-head">{{ .Title | markdownify }}</h1>
|
||||
<main>
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
</main>
|
||||
{{ block "footer" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ end }}
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue