diff --git a/layouts/partials/articles.html b/layouts/partials/articles.html index 8bacb41..08be721 100644 --- a/layouts/partials/articles.html +++ b/layouts/partials/articles.html @@ -7,7 +7,7 @@ {{ $context := (page.GetPage "/blog")}} {{ $ammount := 9 }} {{ if .ammount }} - {{ $ammount := (cast.ToInt .ammount) }} + {{ $ammount = (cast.ToInt .ammount) }} {{ end }} {{ if (eq (len $allposts) 0) }}