diff --git a/web/guestbook.templ b/web/guestbook.templ index e2a918b..58c5255 100644 --- a/web/guestbook.templ +++ b/web/guestbook.templ @@ -72,8 +72,7 @@ templ Guestbook(captchaID, owner string, entries []*justguestbook.Entry, pageCou if pageCount > 1 {
- {{ var n int64 = 1 }} - for ; n <= pageCount; n++ { + for n := int64(1); n <= pageCount; n++ { {{ strN := strconv.FormatInt(n, 10) }}