Fix incorrect theme documentation
The theme documentation for next and previous used name instead of title
This commit is contained in:
parent
5a4ac03c0d
commit
58a23e06a1
|
@ -79,7 +79,7 @@ var chapters = {{chapters}};
|
||||||
|
|
||||||
### 2. previous / next
|
### 2. previous / next
|
||||||
|
|
||||||
The previous and next helpers expose a `link` and `name` property to the
|
The previous and next helpers expose a `link` and `title` property to the
|
||||||
previous and next chapters.
|
previous and next chapters.
|
||||||
|
|
||||||
They are used like this
|
They are used like this
|
||||||
|
@ -87,7 +87,7 @@ They are used like this
|
||||||
```handlebars
|
```handlebars
|
||||||
{{#previous}}
|
{{#previous}}
|
||||||
<a href="{{link}}" class="nav-chapters previous">
|
<a href="{{link}}" class="nav-chapters previous">
|
||||||
<i class="fa fa-angle-left"></i>
|
<i class="fa fa-angle-left"></i> {{title}}
|
||||||
</a>
|
</a>
|
||||||
{{/previous}}
|
{{/previous}}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue