Fix 'page 1' special treatment in pagination docs (#8230)
Merge pull request 8230
This commit is contained in:
		
							parent
							
								
									d596ceb5c2
								
							
						
					
					
						commit
						148608256a
					
				| 
						 | 
				
			
			@ -154,7 +154,7 @@ page with links to all but the current page.
 | 
			
		|||
    {% if page == paginator.page %}
 | 
			
		||||
      <em>{{ page }}</em>
 | 
			
		||||
    {% elsif page == 1 %}
 | 
			
		||||
      <a href="{{ paginator.previous_page_path | relative_url }}">{{ page }}</a>
 | 
			
		||||
      <a href="{{ '/' | relative_url }}">{{ page }}</a>
 | 
			
		||||
    {% else %}
 | 
			
		||||
      <a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue