Add files
This commit is contained in:
0
themes/bbaovanc/layouts/404.html
Normal file
0
themes/bbaovanc/layouts/404.html
Normal file
11
themes/bbaovanc/layouts/_default/baseof.html
Normal file
11
themes/bbaovanc/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>
|
6
themes/bbaovanc/layouts/_default/list.html
Normal file
6
themes/bbaovanc/layouts/_default/list.html
Normal file
@ -0,0 +1,6 @@
|
||||
{{ partial "header.html" . -}}
|
||||
<h1>Posts</h1>
|
||||
{{- range first 10 .Data.Pages }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end }}
|
||||
{{ partial "footer.html" . -}}
|
12
themes/bbaovanc/layouts/_default/old/list.html
Normal file
12
themes/bbaovanc/layouts/_default/old/list.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h1>Posts</h1>
|
||||
{{- range first 10 .Data.Pages }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end }}
|
||||
<h4><a href="{{ .Site.BaseURL }}">Home</a></h4>
|
||||
</body>
|
||||
|
||||
</html>
|
15
themes/bbaovanc/layouts/_default/old/single.html
Normal file
15
themes/bbaovanc/layouts/_default/old/single.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<h6>{{ .Date.Format "Mon, Jan 2, 2006" }}</h6>
|
||||
{{ .Content }}
|
||||
<h4><a href="{{ .Site.BaseURL }}">Home</a></h4>
|
||||
</body>
|
||||
|
||||
</html>
|
4
themes/bbaovanc/layouts/_default/single.html
Normal file
4
themes/bbaovanc/layouts/_default/single.html
Normal file
@ -0,0 +1,4 @@
|
||||
{{ partial "header.html" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ partial "footer.html" . -}}
|
21
themes/bbaovanc/layouts/index.html
Normal file
21
themes/bbaovanc/layouts/index.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
{{ partial "header.html" . }}
|
||||
<h2>Posts</h2>
|
||||
{{- range first 10 .Pages -}}
|
||||
{{- if eq .Type "post" }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
<h2>Pages</h2>
|
||||
{{- range first 10 .Pages -}}
|
||||
{{- if eq .Type "page" }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</body>
|
||||
|
||||
</html>
|
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
0
themes/bbaovanc/layouts/partials/head.html
Normal file
0
themes/bbaovanc/layouts/partials/head.html
Normal file
3
themes/bbaovanc/layouts/partials/header.html
Normal file
3
themes/bbaovanc/layouts/partials/header.html
Normal file
@ -0,0 +1,3 @@
|
||||
<div class="header">
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
</div>
|
5
themes/bbaovanc/layouts/post/single.html
Normal file
5
themes/bbaovanc/layouts/post/single.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ partial "header.html" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<h6>{{ .Date.Format "Mon, Jan 2, 2006" }}</h6>
|
||||
{{ .Content }}
|
||||
{{ partial "footer.html" . -}}
|
Reference in New Issue
Block a user