terms list with thumbnails
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@
|
|||||||
{{/* Use $section_name to get the section title. Use "with" to only show it if it exists */}}
|
{{/* Use $section_name to get the section title. Use "with" to only show it if it exists */}}
|
||||||
{{ with .Site.GetPage "section" $section_name }}
|
{{ with .Site.GetPage "section" $section_name }}
|
||||||
<h1 class="flex-none">
|
<h1 class="flex-none">
|
||||||
Posts
|
{{ $.Param "recent_copy" | default (i18n "recentTitle" .) }}
|
||||||
</h1>
|
</h1>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<section class="flex-ns flex-wrap justify-around mt5">
|
<section class="flex-ns flex-wrap justify-around mt5">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<div class="relative w-100 mb4 bg-white">
|
<div class="relative w-100 mb4 bg-white">
|
||||||
{{ partial "summary.html" . }}
|
{{ partial "summary-with-thumbnail.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<section class="flex-ns flex-wrap justify-around mt5">
|
<section class="flex-ns flex-wrap justify-around mt5">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<div class="relative w-100 mb4 bg-white">
|
<div class="relative w-100 mb4 bg-white">
|
||||||
{{ partial "summary.html" . }}
|
{{ partial "summary-with-thumbnail.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<section class="flex-ns flex-wrap justify-around mt5">
|
<section class="flex-ns flex-wrap justify-around mt5">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<div class="relative w-100 mb4 bg-white">
|
<div class="relative w-100 mb4 bg-white">
|
||||||
{{ partial "summary.html" . }}
|
{{ partial "summary-with-thumbnail.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user