mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
This commit is contained in:
18
docs/content/en/variables/git.md
Normal file
18
docs/content/en/variables/git.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: Git variables
|
||||
description: Retrieve Git information related to the last commit of any page.
|
||||
categories: [variables]
|
||||
keywords: []
|
||||
menu:
|
||||
docs:
|
||||
parent: variables
|
||||
weight: 30
|
||||
weight: 30
|
||||
aliases: [/extras/gitinfo/]
|
||||
---
|
||||
|
||||
{{% include "variables/_common/consistent-terminology.md" %}}
|
||||
|
||||
To retrieve Git information related to the last commit of any page, see the documentation for the [`GitInfo`] method on a `Page` object.
|
||||
|
||||
[`GitInfo`]: /methods/page/gitinfo
|
Reference in New Issue
Block a user