1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-04-26 11:01:43 +00:00

Fix pagination page counter on 32 bit

Updates 
This commit is contained in:
Bjørn Erik Pedersen 2016-09-08 17:17:28 +03:00
parent fe0c270577
commit ccb3040ad4

View file

@ -154,6 +154,8 @@ type targetList struct {
}
type SiteInfo struct {
// atomic requires 64-bit alignment for struct field access
paginationPageCount uint64
BaseURL template.URL
Taxonomies TaxonomyList
Authors AuthorList
@ -178,7 +180,6 @@ type SiteInfo struct {
BuildDrafts bool
canonifyURLs bool
preserveTaxonomyNames bool
paginationPageCount uint64
Data *map[string]interface{}
owner *HugoSites