diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8821a5f..2fd8d7c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,9 @@ {{ define "main" }} -<section id="main"> + {{ $context := . }} + + {{ with .Content }} + {{ partial "single_article.html" $context }} + {{ else }} <section class="archives-wrap"> <div class="archive-category-wrap"> <span class="archive-category">{{ .Title }}</span> @@ -12,5 +16,5 @@ </div> </section> {{ partial "pagination" . }} -</section> + {{ end }} {{ end }}
\ No newline at end of file |