projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe0c270
)
Fix pagination page counter on 32 bit
author
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Thu, 8 Sep 2016 14:17:28 +0000
(17:17 +0300)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Thu, 8 Sep 2016 14:18:11 +0000
(17:18 +0300)
Updates #2415
hugolib/site.go
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index 32e19a8b1b35e075dc96b73896d00d96ce799ac2..8ffe0fad4793d33a208520450263c3ae8c348a8f 100644
(file)
--- a/
hugolib/site.go
+++ b/
hugolib/site.go
@@
-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