Skip to content

Commit e8b8f34

Browse files
authored
Merge pull request #2322 from wilwade/patch-1
Fix incorrect theme documentation: Next/Previous should use `title`
2 parents 5a4ac03 + 58a23e0 commit e8b8f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guide/src/format/theme/index-hbs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ var chapters = {{chapters}};
7979

8080
### 2. previous / next
8181

82-
The previous and next helpers expose a `link` and `name` property to the
82+
The previous and next helpers expose a `link` and `title` property to the
8383
previous and next chapters.
8484

8585
They are used like this
8686

8787
```handlebars
8888
{{#previous}}
8989
<a href="{{link}}" class="nav-chapters previous">
90-
<i class="fa fa-angle-left"></i>
90+
<i class="fa fa-angle-left"></i> {{title}}
9191
</a>
9292
{{/previous}}
9393
```

0 commit comments

Comments
 (0)