diff options
author | Soreine <soreine.plume@gmail.com> | 2016-03-02 12:00:07 +0100 |
---|---|---|
committer | Soreine <soreine.plume@gmail.com> | 2016-03-03 16:39:18 +0100 |
commit | b3662e07c1c6a0ca034ca3b145d53697fff0e1bd (patch) | |
tree | 007045d63193d75b4f288981baefb427000b42fe /docs/templating/variables.md | |
parent | 200e0c58c9808c24a605ea91199e0e8143f3b10c (diff) | |
download | gitbook-b3662e07c1c6a0ca034ca3b145d53697fff0e1bd.zip gitbook-b3662e07c1c6a0ca034ca3b145d53697fff0e1bd.tar.gz gitbook-b3662e07c1c6a0ca034ca3b145d53697fff0e1bd.tar.bz2 |
End of review
Diffstat (limited to 'docs/templating/variables.md')
-rw-r--r-- | docs/templating/variables.md | 8 |
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. |