site.md (531B)
1 --- 2 title: site 3 linktitle: site 4 description: The `site` function provides global access to the same data as the `.Site` page method. 5 date: 2021-02-11 6 publishdate: 2021-02-11 7 lastmod: 2021-02-11 8 keywords: [] 9 categories: [functions] 10 menu: 11 docs: 12 parent: "functions" 13 toc: 14 signature: ["site"] 15 workson: [] 16 hugoversion: 17 relatedfuncs: ["hugo"] 18 deprecated: false 19 draft: false 20 aliases: [] 21 --- 22 23 `site` is a global function which returns the same data as the `.Site` page method. See: [Site Variables]({{< relref "/variables/site" >}}).