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">
{{ range $pages }}
{{ partial "article-card.html" . }}
{{ partial "article.html" . }}
{{ end }}
</section>

2
layouts/authors/list.html

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

2
layouts/authors/terms.html

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

2
layouts/games/list.html

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

Loading…
Cancel
Save