Use reverse order for categories (newest posts first)
This commit is contained in:
		
					parent
					
						
							
								eeced93dae
							
						
					
				
			
			
				commit
				
					
						11edc5f396
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -89,7 +89,7 @@ module Jekyll | ||||||
|       self.ext = '.html' |       self.ext = '.html' | ||||||
|       self.basename = 'index' |       self.basename = 'index' | ||||||
|       self.content = <<-EOS |       self.content = <<-EOS | ||||||
| {% for post in page.posts %}<li><a href="{{ post.url | prepend: site.baseurl | replace: '//', '/' }}"><span>{{ post.title }}<span></a></li> | {% for post in page.posts reversed %}<li><a href="{{ post.url | prepend: site.baseurl | replace: '//', '/' }}"><span>{{ post.title }}<span></a></li> | ||||||
| {% endfor %} | {% endfor %} | ||||||
|       EOS |       EOS | ||||||
|       self.data = { |       self.data = { | ||||||
|  |  | ||||||
		Reference in a new issue