From 93f63df172fd0eaea7e0df13f6f514b2ae1ecd11 Mon Sep 17 00:00:00 2001 From: Chris Frederick Date: Mon, 1 Sep 2014 13:10:49 +0900 Subject: [PATCH] Document the :title variable --- site/_docs/collections.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/site/_docs/collections.md b/site/_docs/collections.md index b4078c17..94e1ef44 100644 --- a/site/_docs/collections.md +++ b/site/_docs/collections.md @@ -81,7 +81,7 @@ For example, if you have `_my_collection/some_subdir/some_doc.md`, it will be wr

collection

-

Label of the containing collection

+

Label of the containing collection.

@@ -89,7 +89,7 @@ For example, if you have `_my_collection/some_subdir/some_doc.md`, it will be wr

path

-

Path to the document relative to the collection's directory

+

Path to the document relative to the collection's directory.

@@ -97,7 +97,15 @@ For example, if you have `_my_collection/some_subdir/some_doc.md`, it will be wr

name

-

The document's base filename, with every sequence of spaces and non-alphanumeric characters replaced by a hyphen

+

The document's base filename, with every sequence of spaces and non-alphanumeric characters replaced by a hyphen.

+ + + + +

title

+ + +

The document's lowercase title (as defined in its front matter), with every sequence of spaces and non-alphanumeric characters replaced by a hyphen. If the document does not define a title in its front matter, this is equivalent to name.

@@ -105,7 +113,7 @@ For example, if you have `_my_collection/some_subdir/some_doc.md`, it will be wr

output_ext

-

Extension of the output file

+

Extension of the output file.