An open API service indexing awesome lists of open source software.

https://github.com/sdiehl/hakyll-bootstrap

Basic Hakyll + Bootstrap site
https://github.com/sdiehl/hakyll-bootstrap

hakyll static-site-generator

Last synced: 7 months ago
JSON representation

Basic Hakyll + Bootstrap site

Awesome Lists containing this project

README

          

hakyll-bootstrap
================



A template for a small corporate Hakyll site.

**Using stack**

```bash
$ stack build
$ stack exec blog -- preview
```

**Using cabal**

To get started run:

```shell
$ 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.

```text
---
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.