Fix null concat error when opening rss feeds with no items
This commit is contained in:
		
							parent
							
								
									973ba4b106
								
							
						
					
					
						commit
						4bb96ddf8b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -67,6 +67,7 @@ fn gensidebar { | ||||||
| 
 | 
 | ||||||
| fn sortedBlogPostList { | fn sortedBlogPostList { | ||||||
|     # the /./ is added so we can sort -t. and order only the file name |     # the /./ is added so we can sort -t. and order only the file name | ||||||
|  |     if (! ~ $#* 0) | ||||||
|         ls $*^'/./' | grep '[0-9]+.*\.md$'| sort -r -t. +1 |         ls $*^'/./' | grep '[0-9]+.*\.md$'| sort -r -t. +1 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Uriel
						Uriel