From 2236056672b6904ef0aef7b2f9980957e1b3d0a5 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Sun, 4 Dec 2016 18:20:56 +0100 Subject: [PATCH] docs: Fix linebreaks in templates/variables.md --- docs/content/templates/variables.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/templates/variables.md b/docs/content/templates/variables.md index bcc060d3b..844620cff 100644 --- a/docs/content/templates/variables.md +++ b/docs/content/templates/variables.md @@ -43,12 +43,12 @@ matter, content or derived from file location. **.Keywords** The meta keywords for this content.
**.Kind** What *kind* of page is this: is one of *page, home, section, taxonomy or taxonomyTerm.* There are also *RSS, sitemap, robotsTXT and 404*, but these will only available during rendering of that kind of page, and not available in any of the `Pages` collections.
**.Lang** Language taken from the language extension notation.
-**.Language** A language object that points to this the language's definition in the site config. +**.Language** A language object that points to this the language's definition in the site config.
**.Lastmod** The date the content was last modified.
**.LinkTitle** Access when creating links to this content. Will use `linktitle` if set in front matter, else `title`.
**.Next** Pointer to the following content (based on pub date).
**.NextInSection** Pointer to the following content within the same section (based on pub date)
-**.Pages** a collection of associated pages. This will be nil for regular content pages. This is an alias for **.Data.Pages**. +**.Pages** a collection of associated pages. This will be nil for regular content pages. This is an alias for **.Data.Pages**.
**.Permalink** The Permanent link for this page.
**.Prev** Pointer to the previous content (based on pub date).
**.PrevInSection** Pointer to the previous content within the same section (based on pub date). For example, `{{if .PrevInSection}}{{.PrevInSection.Permalink}}{{end}}`.
@@ -58,7 +58,7 @@ matter, content or derived from file location. **.ReadingTime** The estimated time it takes to read the content in minutes.
**.Ref(ref)** Returns the permalink for `ref`. See [cross-references]({{% ref "extras/crossreferences.md" %}}). Does not handle in-page fragments correctly.
**.RelPermalink** The Relative permanent link for this page.
-**.RelRef(ref)** Returns the relative permalink for `ref`. See [cross-references]({{% ref "extras/crossreferences.md" %}}). Does not handle in-page fragments +**.RelRef(ref)** Returns the relative permalink for `ref`. See [cross-references]({{% ref "extras/crossreferences.md" %}}). Does not handle in-page fragments.
**.Section** The [section](/content/sections/) this content belongs to.
**.Site** See [Site Variables]({{< relref "#site-variables" >}}) below.
**.Summary** A generated summary of the content for easily showing a snippet in a summary view. Note that the breakpoint can be set manually by inserting <!--more--> at the appropriate place in the content page. See [Summaries](/content/summaries/) for more details.