Created
January 14, 2017 13:40
-
-
Save budparr/41c162c45ce3389d583f59637c1e7ee9 to your computer and use it in GitHub Desktop.
.Site.Pages vs .Data.Pages https://discuss.gohugo.io/t/whats-the-difference-between-site-pages-and-data-pages/2252/2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.Site.Pages = All the Pages (note the capital P) in the site. | |
.Data.Pages: All the Pages for the given Node (sections, taxonomies). This will be a subset of the above for all other nodes than the home page: On that Node I believe these slices are the same. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment