Some renaming
This commit is contained in:
		
							
								
								
									
										4
									
								
								site.hs
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								site.hs
									
									
									
									
									
								
							@@ -47,11 +47,11 @@ main = hakyll $ do
 | 
				
			|||||||
            posts <- modFirst =<< loadAll "posts/guides/*"
 | 
					            posts <- modFirst =<< loadAll "posts/guides/*"
 | 
				
			||||||
            let archiveCtx =
 | 
					            let archiveCtx =
 | 
				
			||||||
                    listField "posts" postCtx (return posts) `mappend`
 | 
					                    listField "posts" postCtx (return posts) `mappend`
 | 
				
			||||||
                    constField "title" "Archives"            `mappend`
 | 
					                    constField "title" "Guides"            `mappend`
 | 
				
			||||||
                    defaultContext
 | 
					                    defaultContext
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            makeItem ""
 | 
					            makeItem ""
 | 
				
			||||||
                >>= loadAndApplyTemplate "templates/archive.html" archiveCtx
 | 
					                >>= loadAndApplyTemplate "templates/guides.html" archiveCtx
 | 
				
			||||||
                >>= loadAndApplyTemplate "templates/default.html" archiveCtx
 | 
					                >>= loadAndApplyTemplate "templates/default.html" archiveCtx
 | 
				
			||||||
                >>= relativizeUrls
 | 
					                >>= relativizeUrls
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,2 +0,0 @@
 | 
				
			|||||||
Here you can find all my previous posts:
 | 
					 | 
				
			||||||
$partial("templates/post-list.html")$
 | 
					 | 
				
			||||||
							
								
								
									
										3
									
								
								templates/guides.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								templates/guides.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					A list of small and big guides.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$partial("templates/post-list.html")$
 | 
				
			||||||
		Reference in New Issue
	
	Block a user