heckle 2.0.0.0 → 2.0.0.1
raw patch · 3 files changed
+5/−5 lines, 3 files
Files
- Files.hs +2/−2
- Main.hs +2/−2
- heckle.cabal +1/−1
Files.hs view
@@ -22,6 +22,6 @@ , "This is an example MD/HTML post" ] -exampleBltxFile :: String-exampleBltxFile = unlines+exampleHklFile :: String+exampleHklFile = unlines [ "<ul id='blog-posts'></ul>"]
Main.hs view
@@ -40,7 +40,7 @@ --read the layout file putStrLn "Reading the layout file"- layoutFile <- readFile "index.html.bltx"+ layoutFile <- readFile "index.html.hkl" --put the ul into the layout file putStrLn "Inserting HTML element into layout file"@@ -56,7 +56,7 @@ ["init"] -> do --Create the basic layout file- writeFile "index.html.bltx" exampleBltxFile --Change to layout when testing, index when deploying"+ writeFile "index.html.hkl" exampleHklFile --Change to layout when testing, index when deploying" --Create directory for posts and basic post createDirectoryIfMissing True "posts" setCurrentDirectory "posts"
heckle.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: heckle-version: 2.0.0.0+version: 2.0.0.1 synopsis: Jekyll in Haskell description: Static site generator that lets you write your blog in LaTeX/MD and publish it to github pages. description: Markdown and HTML are the standard tools used to write your every day tech blog with. But they have pretty weak support for embedding mathematical formulas, and are not conducive to writing for an extended period of time. Plus, they aren't even Turing complete! So use BlaTeX to start blogging in LaTeX! (Oh btw you can still use Markdown too tho lol).