Browse Source

layouts use article.html and article-alternate.html partials

Alexander Avery 4 months ago
parent
commit
5d5c87b348
  1. 2
      layouts/_default/list.html
  2. 2
      layouts/authors/list.html
  3. 2
      layouts/authors/terms.html
  4. 2
      layouts/games/list.html

2
layouts/_default/list.html

@ -14,7 +14,7 @@
<section class="article-list"> <section class="article-list">
{{ range $pages }} {{ range $pages }}
{{ partial "article-card.html" . }} {{ partial "article.html" . }}
{{ end }} {{ end }}
</section> </section>

2
layouts/authors/list.html

@ -26,7 +26,7 @@
<section class="article-list"> <section class="article-list">
{{ range .Data.Pages }} {{ range .Data.Pages }}
{{ partial "article-card.html" . }} {{ partial "article.html" . }}
{{ end }} {{ end }}
</section> </section>

2
layouts/authors/terms.html

@ -3,7 +3,7 @@
<section> <section>
{{ range .Data.Pages }} {{ range .Data.Pages }}
{{ partial "article-card-alternate.html" . }} {{ partial "article-alternate.html" . }}
{{ end }} {{ end }}
</section> </section>
{{ end }} {{ end }}

2
layouts/games/list.html

@ -18,7 +18,7 @@
<section class="article-list"> <section class="article-list">
{{ range .Data.Pages }} {{ range .Data.Pages }}
{{ partial "article-card.html" . }} {{ partial "article.html" . }}
{{ end }} {{ end }}
</section> </section>

Loading…
Cancel
Save