The code, templates and content for my Hakyll powered blog at blog.rekahsoft.ca
Collin J. Doering
a0aed31d54
- pagination of posts now works (they are output to pages/blog<n>.html where <n> is a number from 1 to some natural x) - pages in pages/* are weighted 1 to some natural y for the purposes of generating the menu; but now items that are weighted 0 will not show up in the menu and instead will be hidden. This allows for the paginated pages to be generated to _site/pages/blog<n>.html as above but also avoids showing them in the generated menu. Now there still is the issue of showing the pages. js/default.js has been slightly modified to allow the new format of the paginated blog pages along with the original blog page. Things yet to complete for pagination: - the original blog page still needs to be removed as it will be replaced by the paginated pages - need to modify templates/partials/post-teaser-list.haml to show the forward/backward buttons from the paginate context. - paginate tag pages - find a clean way for the paginated pages (blgo and tags) can be viewed/selected Signed-off-by: Collin J. Doering <rekahsoft@gmail.com> |
||
---|---|---|
files | ||
fonts | ||
images | ||
images-src | ||
js | ||
lib | ||
pages | ||
posts | ||
sass | ||
src | ||
templates | ||
.gitignore | ||
.gitmodules | ||
blog-rekahsoft-ca.cabal | ||
LICENSE | ||
post-offline.haml | ||
Setup.hs | ||
tags-offline.haml |