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
da3307962d
tweak page title
2017-10-07 14:52:40 -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
9f307a15c4
Move NotFound out to its own file
2017-10-07 14:38:43 -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
348703077b
add slugify package
2017-10-07 14:26:08 -07:00
5d799021f0
HistoryNav working with routing
2017-10-07 12:27:33 -07:00
0968c22cf6
Fetch Articles from JSON blob
2017-10-07 12:08:50 -07:00
1554308f8a
numbers in site posts
2017-10-07 11:52:02 -07:00
579af158e0
Add example site.json file
...
This is approximately what the JSON blob will eventually look like
2017-10-07 10:31:31 -07:00
3784568621
remove React favicon
2017-10-07 10:19:06 -07:00
f66bc1ccc2
disable the caching service worker for now
2017-10-07 09:47:12 -07:00
9c346056ed
half-assed attempt to futz around with react-router
2017-10-01 20:38:04 -07:00
6e2dce2e7f
Add react-router-dom package
2017-10-01 10:29:28 -07:00
3b4513acda
add link to source
2017-09-24 21:49:16 -07:00
e26074d01f
highlight code with highlight.js
2017-09-24 21:44:11 -07:00
5e7cfcf0cb
Make a proper readme, leave the React one for now.
2017-09-24 21:26:54 -07:00
f2244ea3ed
Reimpliment the website design in React
2017-09-24 21:23:59 -07:00
833e5f19fc
initial commit
2017-09-24 17:04:47 -07:00