mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix pagination
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ react_version: 0.5.1
|
||||
description: A JavaScript library for building user interfaces
|
||||
relative_permalinks: true
|
||||
paginate: 5
|
||||
paginate_path: /blog/page:num
|
||||
paginate_path: /blog/page:num/
|
||||
nav_docs_sections:
|
||||
- title: Quick Start
|
||||
items:
|
||||
|
||||
@@ -20,12 +20,12 @@ sectionid: blog
|
||||
|
||||
<div class="pagination">
|
||||
{% if paginator.previous_page %}
|
||||
<a href="/react/blog/{{ paginator.previous_page_path }}" class="previous">
|
||||
<a href="/react/{{ paginator.previous_page }}" class="previous">
|
||||
« Previous Page
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if paginator.next_page %}
|
||||
<a href="/react/blog/{{ paginator.next_page_path }}" class="next">
|
||||
<a href="/react{{ paginator.next_page_path }}" class="next">
|
||||
Next Page »
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user