Copy edits variables

This commit is contained in:
Bjørn Erik Pedersen 2017-07-16 22:55:17 +02:00
parent 92726cf0a7
commit fac13f4fde
5 changed files with 6 additions and 10 deletions

View File

@ -1,7 +1,7 @@
---
title: Hugo Documentation
linktitle: Hugo
description: Hugo is the world's fastest static website engine. It's written in Golang and developed by spf13 and friends.
description: Hugo is the world's fastest static website engine. It's written in Go (aka Golang) and developed by bep, spf13 and friends.
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01

View File

@ -1,7 +1,7 @@
---
title: File Variables
linktitle:
description: Hugo provides the ability to traverse your website's files on your server, including the local Hugo server.
description: "You can access filesystem-related data for a content file in the `.File` variable."
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
@ -18,8 +18,6 @@ aliases: [/variables/file-variables/]
toc: false
---
Hugo provides the ability to traverse your website's files on your server, including the local `Hugo server`. You can access file-system-related data for a piece of content via the `.File` variable.
{{% note "Rendering Local Files" %}}
For information on creating shortcodes and templates that tap into Hugo's file-related feature set, see [Local File Templates](/templates/files/).
{{% /note %}}

View File

@ -1,7 +1,7 @@
---
title: Git Info Variables
linktitle: Git Variables
description:
description: Get the last Git revision information for every content file.
date: 2017-03-12
publishdate: 2017-03-12
lastmod: 2017-03-12
@ -19,8 +19,6 @@ toc: false
wip: false
---
Hugo provides a way to integrate Git data into your website.
{{% note "`.GitInfo` Performance Considerations" %}}
Hugo's Git integrations should be fairly performant but *can* increase your build time. This will depend on the size of your Git history.
{{% /note %}}

View File

@ -1,7 +1,7 @@
---
title: Hugo-specific Variables
linktitle: Hugo Variables
description: Hugo variables can be used in your templates to show metadata such as Hugo version and commit hashes.
description: The `.Hugo` variable provides easy access to Hugo-related data.
date: 2017-03-12
publishdate: 2017-03-12
lastmod: 2017-03-12
@ -19,7 +19,7 @@ toc: false
wip: false
---
The `.Hugo` variable provides easy access to Hugo-related data and contains the following fields:
It contains the following fields:
`.Hugo.Generator`
: `<meta>` tag for the version of Hugo that generated the site. `.Hugo.Generator` outputs a *complete* HTML tag; e.g. `<meta name="generator" content="Hugo 0.18" />`

View File

@ -18,7 +18,7 @@ aliases: [/variables/menu/]
toc: false
---
A menu entry in a [menu template][] has the following properties:
The [menu template][] has the following properties:
`.URL`
: string