aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/hugo_sites.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-04-05 09:57:58 +0200
committerBjørn Erik Pedersen <[email protected]>2022-04-05 16:11:11 +0200
commit658e11ebaa94de219f941699d119a97a18301eea (patch)
tree76330777138b792bac1dfcf05e9948d9f5839bcc /hugolib/hugo_sites.go
parente0a882fd3b9825dc9a95b83d72fc330dcbbbcce9 (diff)
downloadhugo-658e11ebaa94de219f941699d119a97a18301eea.tar.gz
hugo-658e11ebaa94de219f941699d119a97a18301eea.zip
Localize all the GroupBy*Date methods
Fixes #9745
Diffstat (limited to 'hugolib/hugo_sites.go')
-rw-r--r--hugolib/hugo_sites.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go
index 9b27ae5e3..09e1a331a 100644
--- a/hugolib/hugo_sites.go
+++ b/hugolib/hugo_sites.go
@@ -73,6 +73,9 @@ type HugoSites struct {
// Render output formats for all sites.
renderFormats output.Formats
+ // The currently rendered Site.
+ currentSite *Site
+
*deps.Deps
gitInfo *gitInfo