Add files
This commit is contained in:
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>
|
Reference in New Issue
Block a user