File tree Expand file tree Collapse file tree 2 files changed +26
-5
lines changed
Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 1- {{ define "main" }} {{ partial "pagination.html" . }}
2-
3- < section >
4- {{ range .Paginator.Pages }} {{ partial "post-card.html" . }} {{ end }}
5- </ section >
1+ {{ define "main" }}
62
73{{ partial "pagination.html" . }}
84
5+ < div class ="columns is-multiline ">
6+ {{ range .Paginator.Pages }}
7+ < div class ="column is-half ">
8+ {{ partial "post-card-small.html" . }}
9+ </ div >
10+ {{ end }}
11+ </ div >
12+
913< div class ="has-text-centered mt-5 ">
1014 < a href ="/blog/index.xml " class ="button is-primary ">
1115 < span class ="icon "> < i class ="fas fa-rss "> </ i > </ span >
1216 < span > Subscribe</ span >
1317 </ a >
1418</ div >
1519
20+ {{ partial "pagination.html" . }}
21+
1622{{ end }}
Original file line number Diff line number Diff line change 1+ < a href ="{{ .RelPermalink }} ">
2+ < div class ="card ">
3+ < header class ="card-header card-header-title ">
4+ {{ .Title}}
5+ </ header >
6+ < div class ="card-content ">
7+ < div class ="content ">
8+ {{ .Summary }}
9+ </ div >
10+ </ div >
11+ < footer class ="card-footer ">
12+ < p class ="card-footer-item "> Published: {{ .Date.Format "Jan 2, 2006" }}</ p >
13+ </ footer >
14+ </ div >
15+ </ a >
You can’t perform that action at this time.
0 commit comments