|
7 vuotta sitten | |
---|---|---|
css | 8 vuotta sitten | |
images | 9 vuotta sitten | |
posts | 8 vuotta sitten | |
stuff | 9 vuotta sitten | |
talks | 9 vuotta sitten | |
templates | 9 vuotta sitten | |
.gitignore | 9 vuotta sitten | |
README.md | 7 vuotta sitten | |
about.md | 9 vuotta sitten | |
my-site.cabal | 9 vuotta sitten | |
resume_jmelesky.pdf | 9 vuotta sitten | |
site.hs | 9 vuotta sitten | |
stack.yaml | 9 vuotta sitten | |
stuff.md | 9 vuotta sitten | |
talks.md | 9 vuotta sitten | |
work.md | 9 vuotta sitten |
Yeah, yeah, some documentation.
This is written in Hakyll.
From scratch:
apt install haskell-stack
. It's an older version, but it worksstack build --install-ghc
apt install libz-dev
stack exec site build
_site
If you add a page (blog post or whatnot):
stack exec site build
If you make a change to site.hs
:
stack build
stack exec site rebuild
Honestly, you can use rebuild
all the time if you want to, but it will be a little longer -- it deletes _site
and builds it from scratch.