Merge pull request #2322 from wilwade/patch-1

Fix incorrect theme documentation: Next/Previous should use `title`
This commit is contained in:
Eric Huss 2024-02-21 21:25:18 +00:00 committed by GitHub
commit e8b8f34f2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ var chapters = {{chapters}};
### 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.
They are used like this
@ -87,7 +87,7 @@ They are used like this
```handlebars
{{#previous}}
<a href="{{link}}" class="nav-chapters previous">
<i class="fa fa-angle-left"></i>
<i class="fa fa-angle-left"></i> {{title}}
</a>
{{/previous}}
```