fix post lists
This commit is contained in:
		
							parent
							
								
									1bf324f210
								
							
						
					
					
						commit
						74eefd84e0
					
				| @ -12,6 +12,6 @@ welcome. Meet us at our Assembly at 34C3. | |||||||
| 
 | 
 | ||||||
| The latest posts here are: | The latest posts here are: | ||||||
| 
 | 
 | ||||||
| $partial("templates/post-list.md")$ | $partial("templates/post-list.html")$ | ||||||
| 
 | 
 | ||||||
| and there are even more in the [archive](/archive.html). | and there are even more in the [archive](/archive.html). | ||||||
|  | |||||||
| @ -81,7 +81,7 @@ main = do | |||||||
|                     -- (menuCtx firstUrl latestUrl) |                     -- (menuCtx firstUrl latestUrl) | ||||||
|                     defaultCtx |                     defaultCtx | ||||||
|             makeItem "" |             makeItem "" | ||||||
|                 >>= loadAndApplyTemplate "templates/archive.md" archiveCtx |                 >>= loadAndApplyTemplate "templates/archive.html" archiveCtx | ||||||
|                 >>= loadAndApplyTemplate "templates/default.html" archiveCtx |                 >>= loadAndApplyTemplate "templates/default.html" archiveCtx | ||||||
|                 >>= relativizeUrls |                 >>= relativizeUrls | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,2 +1,3 @@ | |||||||
| Here you can find all my previous posts: | Here you can find all my previous posts: | ||||||
| $partial("templates/post-list.md")$ | 
 | ||||||
|  | $partial("templates/post-list.html")$ | ||||||
							
								
								
									
										5
									
								
								templates/post-list.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								templates/post-list.html
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | <ul> | ||||||
|  | $for(posts)$ | ||||||
|  | <li><a href="$url$"> $title$ - $date$</a></li> | ||||||
|  | $endfor$ | ||||||
|  | </ul> | ||||||
| @ -1,3 +0,0 @@ | |||||||
| $for(posts)$ |  | ||||||
| * [$title$]($url$) - $date$ |  | ||||||
| $endfor$ |  | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 nek0
						nek0