Commit graph

17 commits

Author SHA1 Message Date
89d0ac2a86 properly link tags in articles 2017-10-11 20:16:18 -07:00
5a94ee35e6 fix highlighting on posts and pages 2017-10-07 21:00:04 -07:00
e69c47e2c4 Add page object with top-level routes 2017-10-07 19:34:56 -07:00
687b378a8c refactor Posts into their own file 2017-10-07 18:19:18 -07:00
2bd0b602ff Display NotFound on missing posts 2017-10-07 17:55:44 -07:00
4743912d9d Don't show history nav if 404ing 2017-10-07 17:53:03 -07:00
01eb8c8d3c remove console logging 2017-10-07 17:35:27 -07:00
9fad879181 Proper HistoryNav
Detects whether there's a previous page or next page, the old HistoryNav
was made to be dumber and most of the logic now lives in Posts (which is
the only thing that uses HistoryNav anyway)

The side-effect is that the nav is now within the content column, which
is okay since it's symmetric now.
2017-10-07 17:31:33 -07:00
04a4e8a93f Remove loading messages to help with the illusion 2017-10-07 15:46:59 -07:00
5e7fbcd3a4 Fix Article/Post naming
Post/Posts is better than FullArticle/Articles since that's really what
they are. Paves the way for a Page to render an Article.
2017-10-07 15:11:21 -07:00
60e6e75cb4 actually load tags from the post 2017-10-07 14:59:43 -07:00
77d7938c54 remove some console.logs 2017-10-07 14:59:25 -07:00
698a553afc Show 404 if you ask for a page of posts that has none
A later TODO is to to only display the Older Posts link if there are
older posts to show. That's a little complicated, this is at least a
quick win.
2017-10-07 14:42:35 -07:00
4d9923854d Re-jigger articles
There's now a base Article class, and then FullArticle and Articles
classes which are what react-router routes to
2017-10-07 14:26:23 -07:00
0968c22cf6 Fetch Articles from JSON blob 2017-10-07 12:08:50 -07:00
9c346056ed half-assed attempt to futz around with react-router 2017-10-01 20:38:04 -07:00
f2244ea3ed Reimpliment the website design in React 2017-09-24 21:23:59 -07:00