Initial site
This commit is contained in:
0
themes/maddybook/layouts/404.html
Normal file
0
themes/maddybook/layouts/404.html
Normal file
11
themes/maddybook/layouts/_default/baseof.html
Normal file
11
themes/maddybook/layouts/_default/baseof.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
||||
0
themes/maddybook/layouts/_default/list.html
Normal file
0
themes/maddybook/layouts/_default/list.html
Normal file
0
themes/maddybook/layouts/_default/single.html
Normal file
0
themes/maddybook/layouts/_default/single.html
Normal file
6
themes/maddybook/layouts/index.html
Normal file
6
themes/maddybook/layouts/index.html
Normal file
@ -0,0 +1,6 @@
|
||||
{{ define "main" }}
|
||||
<main id="main">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</main>
|
||||
{{ end }}
|
||||
3
themes/maddybook/layouts/partials/footer.html
Normal file
3
themes/maddybook/layouts/partials/footer.html
Normal file
@ -0,0 +1,3 @@
|
||||
<footer>
|
||||
<p>© <a href="{{ .Site.Params.home }}">{{ .Site.Params.author }}</a> {{ .Site.Params.copyright }}</p>
|
||||
</footer>
|
||||
9
themes/maddybook/layouts/partials/head.html
Normal file
9
themes/maddybook/layouts/partials/head.html
Normal file
@ -0,0 +1,9 @@
|
||||
<header>
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
3
themes/maddybook/layouts/partials/header.html
Normal file
3
themes/maddybook/layouts/partials/header.html
Normal file
@ -0,0 +1,3 @@
|
||||
<head>
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
Reference in New Issue
Block a user