The hablog package

[ Tags: library, mit, program, web ] [ Propose Tags ]

blog system with tags


[Skip to Readme]

Properties

Versions 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.6.0
Dependencies base (>=4.7 && <5), bifunctors, blaze-html, blaze-markup, bytestring, containers, directory, filepath, hablog, markdown, mime-types, mtl, network-uri, optparse-applicative, rss, scotty, scotty-tls (>=0.4), text, time, transformers [details]
License MIT
Author Gil Mizrahi
Maintainer soupiral@gmail.com
Category Web
Source repository head: git clone https://github.com/soupi/hablog
Uploaded Sat Aug 5 14:28:34 UTC 2017 by gilmi
Distributions NixOS:0.6.0
Executables hablog
Downloads 230 total (9 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-05 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hablog-0.6.0

[back to package description]

Hablog

Hackage CircleCI

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

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
  2. 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

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

title: <the title of the page>
route: <route to the page>
---

<The rest of the page in Markdown format>