mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			543 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			543 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						|
title: site
 | 
						|
linktitle: site
 | 
						|
description: The `site` function provides global access to the same data as the `.Site` page method.
 | 
						|
godocref:
 | 
						|
date: 2021-02-11
 | 
						|
publishdate: 2021-02-11
 | 
						|
lastmod: 2021-02-11
 | 
						|
keywords: []
 | 
						|
categories: [functions]
 | 
						|
menu:
 | 
						|
  docs:
 | 
						|
    parent: "functions"
 | 
						|
toc:
 | 
						|
signature: ["site"]
 | 
						|
workson: []
 | 
						|
hugoversion:
 | 
						|
relatedfuncs: ["hugo"]
 | 
						|
deprecated: false
 | 
						|
draft: false
 | 
						|
aliases: []
 | 
						|
---
 | 
						|
 | 
						|
`site` is a global function which returns the same data as the `.Site` page method. See: [Site Variables]({{< relref "/variables/site" >}}).
 | 
						|
 | 
						|
 |