From fac13f4fdea02d8f5b759260826d2f6b2834f74c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 16 Jul 2017 22:55:17 +0200 Subject: [PATCH] Copy edits variables --- content/documentation.md | 2 +- content/variables/files.md | 4 +--- content/variables/git.md | 4 +--- content/variables/hugo.md | 4 ++-- content/variables/menus.md | 2 +- 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/content/documentation.md b/content/documentation.md index d8698c441..b9db486aa 100644 --- a/content/documentation.md +++ b/content/documentation.md @@ -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 diff --git a/content/variables/files.md b/content/variables/files.md index a3bae7d04..dd6c6efc2 100644 --- a/content/variables/files.md +++ b/content/variables/files.md @@ -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 %}} diff --git a/content/variables/git.md b/content/variables/git.md index d0af56ded..97ecb3c61 100644 --- a/content/variables/git.md +++ b/content/variables/git.md @@ -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 %}} diff --git a/content/variables/hugo.md b/content/variables/hugo.md index 142b00920..da83a91f7 100644 --- a/content/variables/hugo.md +++ b/content/variables/hugo.md @@ -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` : `` tag for the version of Hugo that generated the site. `.Hugo.Generator` outputs a *complete* HTML tag; e.g. `` diff --git a/content/variables/menus.md b/content/variables/menus.md index d497eddac..3f3f8fb33 100644 --- a/content/variables/menus.md +++ b/content/variables/menus.md @@ -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