Basic Hakyll + Bootstrap site
CSS JavaScript Haskell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
fonts
js
pages
posts
templates
.gitignore
LICENSE
Main.hs
README.md
Setup.hs
hakyll-bootstrap.cabal
index.html
sample.png

README.md

hakyll-bootstrap

A template for a small corporate Hakyll site.

To get started run:

$ cabal sandbox init
$ cabal install --only-dependencies
$ cabal run preview

To compile the full executable site generator use:

$ ghc --make Main.hs
$ ./Main rebuild

The default static pages are renderd with plain HTML with mixins from the /templates folder..

index.html

pages/
  about.html
  contact.html
  privacy.html
  signup.html
  team.html
  tos.html

Blog posts are placed under the /posts folder and are generated from Markdown.

Inline math is enabled via setting the mathjax metadata to on, by default MathJax is disabled.

---
title: Example Blog Post
author: Stephen Diehl
date: 2013-11-13
mathjax: on
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
non est in neque luctus eleifend. Sed tincidunt vestibulum
facilisis. Aenean ut pulvinar massa.

License

Released under MIT License.