Browse Source

fixed url for index

john melesky 8 năm trước cách đây
mục cha
commit
fa8154d569
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      site.hs

+ 1 - 1
site.hs

@@ -80,7 +80,7 @@ main = hakyll $ do
       post <- fmap head . recentFirst =<< loadAllSnapshots "posts/*.md" "post_content"
       loadAndApplyTemplate "templates/default.html" (postCtxWithTags tags) post
       >>= relativizeUrls
-      >>= changeIdentifier "new_index.html"
+      >>= changeIdentifier "index.html"
 
   match "templates/*" $ compile templateBodyCompiler