tweaks
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<article class="card-body">
|
||||
<h2 class="card-title">{{ .Title }}</h2>
|
||||
<p class="card-text">{{ .Description }}</p>
|
||||
<div class="card-subtext">
|
||||
<div class="card-subtext muted-text">
|
||||
<p style="margin: 0 1em 0 0;">Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
|
||||
<p style="margin: 0 1em 0 0;">|</p>
|
||||
<p style="margin: 0 1em 0 0;">#Category</p>
|
||||
|
||||
@@ -13,11 +13,12 @@
|
||||
{{ end }}
|
||||
</main>
|
||||
<div class="pagination-nav side-gutter">
|
||||
<a href="#">« Older Posts</a>
|
||||
<div>Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</div>
|
||||
<a href="#">Newer Posts »</a>
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<a href="#" class="pagination-prev button">Newer Posts</a>
|
||||
{{ end }}
|
||||
<p class="pagination-pagenum muted-text">Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</p>
|
||||
<a href="#" class="pagination-next button">Older Posts</a>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user