Remove pagination
This commit is contained in:
parent
1377cd916b
commit
3fe049c683
2 changed files with 2 additions and 4 deletions
|
@ -15,13 +15,12 @@
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
<ul class="articles-list">
|
<ul class="articles-list">
|
||||||
{{- range .Paginator.Pages -}}
|
{{- range .Pages.ByTitle -}}
|
||||||
{{- .Render "li" -}}
|
{{- .Render "li" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ partial "pagination.html" . }}
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -11,12 +11,11 @@
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
<ul class="articles-list">
|
<ul class="articles-list">
|
||||||
{{- range .Paginator.Pages -}}
|
{{- range .Pages.ByDate.Reverse -}}
|
||||||
{{- .Render "li" -}}
|
{{- .Render "li" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
{{ partial "pagination.html" . }}
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue