ee
This commit is contained in:
parent
d95893188a
commit
dcaebd03f5
2 changed files with 4 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
|||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
{{partial "articles.html" (dict "Paging" true "context" . "ammount" 9)}}
|
||||
{{partial "articles.html" (dict "Paging" true "context" . "ammount" 9) 5}}
|
||||
</div>
|
||||
|
||||
<div class="mt-6 pt-2 blog-pagination">
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
{{ if .ammount }}
|
||||
{{ $ammount = (cast.ToInt .ammount) }}
|
||||
{{ end }}
|
||||
{{ if (.Get 2) }}
|
||||
{{ $ammount = (cast.ToInt (.Get 2) }}
|
||||
{{ end }}
|
||||
{{ if (eq (len $allposts) 0) }}
|
||||
<div
|
||||
class="section-error-container transition-child"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue