|
|
%!s(int64=7) %!d(string=hai) anos | |
|---|---|---|
| css | %!s(int64=9) %!d(string=hai) anos | |
| images | %!s(int64=9) %!d(string=hai) anos | |
| posts | %!s(int64=8) %!d(string=hai) anos | |
| stuff | %!s(int64=9) %!d(string=hai) anos | |
| talks | %!s(int64=9) %!d(string=hai) anos | |
| templates | %!s(int64=7) %!d(string=hai) anos | |
| .gitignore | %!s(int64=9) %!d(string=hai) anos | |
| README.md | %!s(int64=7) %!d(string=hai) anos | |
| about.md | %!s(int64=9) %!d(string=hai) anos | |
| my-site.cabal | %!s(int64=9) %!d(string=hai) anos | |
| resume_jmelesky.pdf | %!s(int64=7) %!d(string=hai) anos | |
| site.hs | %!s(int64=9) %!d(string=hai) anos | |
| stack.yaml | %!s(int64=9) %!d(string=hai) anos | |
| stuff.md | %!s(int64=9) %!d(string=hai) anos | |
| talks.md | %!s(int64=9) %!d(string=hai) anos | |
| work.md | %!s(int64=9) %!d(string=hai) anos |
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-devstack exec site build_siteIf 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.
All you need is stack exec site watch.
On the current Rimu VM (as of mid-2018):
cd code/pdorg_site
git pull; stack exec site rebuild
As above, if you make a change to the site.hs, you'll instead want:
cd code/pdorg_site
git pull
stack build
stack exec site rebuild