sdiehl / hakyll-bootstrap

Basic Hakyll + Bootstrap site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hakyll-bootstrap

A template for a small corporate Hakyll site.

Using stack

$ stack build
$ stack exec blog -- preview

Using cabal

To get started run:

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

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.

About

Basic Hakyll + Bootstrap site

License:MIT License


Languages

Language:HTML 41.7%Language:JavaScript 36.6%Language:CSS 11.9%Language:Haskell 9.8%