mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
acb9109df7
d343ebf71 Document ignoreImports f912ea1cc Fix the github workflow (#1332) 617894052 Add site function f3be651f9 Minor typo/markdown fixes (#1328) 7a95e9db5 Fix a formatting error for Github Actions (#1323) 260106669 Fix #1120 Use Github Action d8847a144 docs: Fix HTML code in .RenderString description being stripped out (#1320) 7a67c38c4 Correct sitemap version (#1318) 6a163f53a Removed noise. (#1317) b02902121 Fix a minor typo (#1314) 399c74acd Revert "js: Update shims setup" 77def8a8c Revert "Update js.md" 13aeb2c73 Update js.md 704987dc1 js: Update shims setup git-subtree-dir: docs git-subtree-split: d343ebf718393ea704da132de508db712f7bcb44
26 lines
535 B
Markdown
26 lines
535 B
Markdown
---
|
|
title: site
|
|
linktitle: site
|
|
description: The `site` function provides global access the same data as `.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" >}}).
|
|
|
|
|