diff options
| -rw-r--r-- | layouts/_default/list.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..3a1d953 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,15 @@ +{{ define "main" }} +<div class="articles"> + {{- with .Title }} + <h1 class="page-title">{{ . }}</h1> + {{- end }} + {{- with .Content }} + <div class="category-content"> + {{ .Content }} + </div> + {{- end }} + {{ range .Paginator.Pages }} + {{- .Render "teaser" }} + {{ end }} +</div> +{{ end }} |
