progressed on mosaic layout
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
</section>
|
||||
<section class="flex-ns flex-wrap justify-around mt5">
|
||||
{{ range .Paginator.Pages }}
|
||||
<div class="relative w-100 w-30-l mb4 bg-white">
|
||||
{{- partial "summary.html" . -}}
|
||||
<div class="relative w-100 w-30-l mb4">
|
||||
{{ .Render "summary" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
@@ -1,8 +1,11 @@
|
||||
|
||||
{{/* used to show posts */}}
|
||||
|
||||
|
||||
{{ define "header" }}
|
||||
{{/* We can override any block in the baseof file be defining it in the template */}}
|
||||
{{ partial "page-header.html" . }}
|
||||
{{ end }}
|
||||
{{/* used to show posts */}}
|
||||
{{ define "main" }}
|
||||
{{ $section := .Site.GetPage "section" .Section }}
|
||||
<article class="flex flex-wrap center light-gray flex-column tc flex-align:center">
|
||||
|
@@ -4,11 +4,12 @@
|
||||
<p>{{i18n "taxonomyPageList" .}}</p>
|
||||
</div>
|
||||
</article>
|
||||
<div class="mw8 center">
|
||||
<div class="center">
|
||||
<section class="flex-ns flex-wrap justify-around mt5">
|
||||
{{/* List of articles with the tag */}}
|
||||
{{ range .Pages }}
|
||||
<div class="relative w-100 mb4 bg-white">
|
||||
{{ partial "summary.html" . }}
|
||||
<div class="relative w-100 w-30-l mb4">
|
||||
{{ .Render "summary" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user