Add files
This commit is contained in:
13
themes/bbaovanc/layouts/_default/baseof.html
Normal file
13
themes/bbaovanc/layouts/_default/baseof.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{- partial "head.html" . -}}
|
||||
</head>
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
14
themes/bbaovanc/layouts/_default/list.html
Normal file
14
themes/bbaovanc/layouts/_default/list.html
Normal file
@ -0,0 +1,14 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ range .Data.Pages }}
|
||||
<article class="post-snippet">
|
||||
<h3>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h3>
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
|
||||
{{ .Date.Format "January 2, 2006" }}
|
||||
</time>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
11
themes/bbaovanc/layouts/_default/single.html
Normal file
11
themes/bbaovanc/layouts/_default/single.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<div class="row">
|
||||
<div class="main">
|
||||
<h1>{{ .Title }}</h2>
|
||||
<h4>{{ .Date.Format "Mon, Jan 2, 2006" }}</h5>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
Reference in New Issue
Block a user