summaryrefslogtreecommitdiffstats
path: root/docs/templating/variables.md
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-03-05 15:14:17 +0100
committerSamy Pessé <samypesse@gmail.com>2016-03-05 15:14:17 +0100
commit29533908c2b28f7d0f596bd25c07e06563f027ae (patch)
tree8e68fdb754d720af9c20afc403759c27835dd738 /docs/templating/variables.md
parent603622e3379e1381b7acedf5174ceba656b15285 (diff)
parent74a1e9dee23ab44c2242c69f3ee5091454af42a8 (diff)
downloadgitbook-29533908c2b28f7d0f596bd25c07e06563f027ae.zip
gitbook-29533908c2b28f7d0f596bd25c07e06563f027ae.tar.gz
gitbook-29533908c2b28f7d0f596bd25c07e06563f027ae.tar.bz2
Merge pull request #1168 from GitbookIO/enhancement/doc
v3 doc review
Diffstat (limited to 'docs/templating/variables.md')
-rw-r--r--docs/templating/variables.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/templating/variables.md b/docs/templating/variables.md
index 3dbd6f7..bca5880 100644
--- a/docs/templating/variables.md
+++ b/docs/templating/variables.md
@@ -6,7 +6,7 @@ The following is a reference of the available data during book's parsing and the
| Variable | Description |
| -------- | ----------- |
-| `book` | Bookwide information + configuration settings from `book.json`. See below for details. |
+| `book` | Book-wide information + configuration settings from `book.json`. See below for details. |
| `gitbook` | GitBook specific information |
| `page` | Current page specific information |
| `file` | File associated with the current page specific information |
@@ -25,7 +25,7 @@ The following is a reference of the available data during book's parsing and the
| Variable | Description |
| -------- | ----------- |
-| `gitbook.time` | The current time (when you run the `gitbook` command). |
+| `gitbook.time` | The current time (when you run the `gitbook` command) . |
| `gitbook.version` | Version of GitBook used to generate the book |
### File Variables
@@ -33,7 +33,7 @@ The following is a reference of the available data during book's parsing and the
| Variable | Description |
| -------- | ----------- |
| `file.path` | The path to the raw page |
-| `file.mtime` | Modified Time, Time when file data last modified |
+| `file.mtime` | Modified Time. Last time the file was modified |
| `file.type` | The name of the parser used to compile this file (ex: `markdown`, `asciidoc`, etc) |
#### Page Variables
@@ -51,7 +51,7 @@ The following is a reference of the available data during book's parsing and the
| -------- | ----------- |
| `summary.parts` | List of sections in the Table of Contents |
-Thw whole table of contents (`SUMMARY.md`) can be accessed:
+The whole table of contents (`SUMMARY.md`) can be accessed:
`summary.parts[0].articles[0].title` will return the title of the first article.