blog-legacy/themes/bbaovanc/layouts/index.html

22 lines
459 B
HTML
Raw Normal View History

2021-03-25 02:42:09 -05:00
<!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>