feat: WIP
This commit is contained in:
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 }}">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{ partial "debug.html" . }}
|
||||
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
{{ partial "js.html" . }}
|
||||
</body>
|
||||
</html>
|
5
layouts/_default/index.html
Normal file
5
layouts/_default/index.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section class="content">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
{{ end }}
|
5
layouts/_default/single.html
Normal file
5
layouts/_default/single.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section class="content container md">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
{{ end }}
|
Reference in New Issue
Block a user