homepage: ''
changelog-type: ''
hash: 8dd63987a6ec046aabac9801e01632ea5ca59ec60c17519c34343c511a24b418
test-bench-deps: {}
maintainer: soupiral@gmail.com
synopsis: A blog system
changelog: ''
basic-deps:
  markdown: -any
  hablog: -any
  bytestring: -any
  base: ! '>=4.7 && <5'
  blaze-markup: -any
  text: -any
  filepath: -any
  containers: -any
  bifunctors: -any
  mime-types: -any
  mtl: -any
  blaze-html: -any
  scotty-tls: ! '>=0.4'
  transformers: -any
  scotty: -any
  directory: -any
all-versions:
- '0.4.0'
author: Gil Mizrahi
latest: '0.4.0'
description-type: markdown
description: ! 'Hablog

  ======


  A simple blog platform with tags. Made with Haskell and Scotty.


  Hablog will read posts written in Markdown from the `_posts` folder.


  License

  =======


  Hablog is licensed under MIT license. This means the Haskell source files in the
  src directory.

  Highlight.js related content is not a part of Hablog and is not licensed by it.



  Installation

  ============


  ```sh

  git clone https://github.com/soupi/hablog

  cd hablog

  stack build

  ```



  How to write a new post?

  ========================


  1. All posts must go under the `/_posts/` directory

  1. All pages must go under the `/_pages/` directory

  3. The content of the post/page must correspond to a specific structure


  ## A Post''s Structure


  ```markdown

  title: <the title of the post>

  route: <route to the post>

  authors: <the author of the post, seperated, by, commas>

  date: yyyy-mm-dd

  tags: <tags for the post, separated, by, commas>


  ---


  <The rest of the post in Markdown format>

  ```



  ## A Page''s Structure


  ```markdown

  title: <the title of the page>

  route: <route to the page>

  ---


  <The rest of the page in Markdown format>

  ```


'
license-name: MIT

Update from Hackage at 2016-05-17T22:34:30+0000
Update from Hackage at 2016-05-17T22:34:30+0000
