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>
|
||||||
|
|
||||||
<div class="mt-4">
|
<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>
|
||||||
|
|
||||||
<div class="mt-6 pt-2 blog-pagination">
|
<div class="mt-6 pt-2 blog-pagination">
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
{{ if .ammount }}
|
{{ if .ammount }}
|
||||||
{{ $ammount = (cast.ToInt .ammount) }}
|
{{ $ammount = (cast.ToInt .ammount) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if (.Get 2) }}
|
||||||
|
{{ $ammount = (cast.ToInt (.Get 2) }}
|
||||||
|
{{ end }}
|
||||||
{{ if (eq (len $allposts) 0) }}
|
{{ if (eq (len $allposts) 0) }}
|
||||||
<div
|
<div
|
||||||
class="section-error-container transition-child"
|
class="section-error-container transition-child"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue