Description: This collection of styles aims to help haskell bloggers set up beautiful blogs with Hakyll static site generator by showcasing available themes.
For themes with custom
site.hs, consider the hakyll-themes repo.
The examples in
default_themeare using CSS to edit the default, out-of-the-box version ofsite.hsandtemplates/*.htmlthat are created. The example ingalleryis used to generate the gallery site.
To preview the themes locally, you can follow these steps:
- Install hakyll
- with stack or
- with cabal
cabal install hakyllor - with nix
nix-shell -p '(haskellPackages.ghcWithPackages (pkgs: with pkgs; [ hakyll ]))'
- clone this repo
- cd into
default_theme - compile
ghc --make site.hs - run server with
./site watch
It's through community contributions that will continue to improve this collection. You can contribute in several ways.
-
Submitting theme: If you'd like to contribute your theme, fork the repo, create a new css file with your theme and place it in
default_theme/css.- if you're using the out of the box site.hs and template files: add the file to the css directory under
default_themeand add an option to the dropdown menu in default.html - if you're contributing a whole new theme with a custom
site.hsfile, please consider contributing to hakyll-themes
- if you're using the out of the box site.hs and template files: add the file to the css directory under
-
Issues: Provide a detailed report of any bugs you encounter, and open an issue on GitHub.
-
Documentation: If you'd like to fix a typo or enhance the docs, you can fork the project, make your changes, and submit a pull request.
-
Code: Make a fix and submit it as a pull request.
Katherine Chuang
Jasper Van der Jeugt for Hakyll
- Copyright 2015-2017 Katherine Chuang
- Code released under the MIT License
