Skip to content

Conversation

@zeronetscript
Copy link

I've created this PR before but I miss use the PR branch to do other commits, so I recreate this PR for better review.

first two commit cleans coffeelint warnings
last one commit implements generate a TOC by date page

all above changes can be viewed at http://127.0.0.1:43110/19k2nhubaYsDJNPHL6iNs3D2K9Mgj66P4R

unknown and others added 8 commits April 21, 2016 12:02
when selecting posts, select count(*) from post as first row
so we can do better page display
previously only show prev/next, hard to jump. this improve it by:
support jump to first/last page
show current page and neighbour page links (instead of prev/next)
if not all next pages can showup, ... added to last link to notice user
add an entry in routeUrl to dispatch ?Toc= type url, then pageToc
query all blogs and generate a simple index for all, these index
grouped by same month (empty month skipped) order by date. page query
not implemented currently
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant