Commit graph

117 commits

Author SHA1 Message Date
7c3839d64f Fix extra > 2018-01-20 17:38:12 -08:00
63862db888 Font tweaks
Apply Roboto to <article><section> and not just <p>. Non-<p> tags inside
of articles weren't getting it, like <ul>.

Shrink code font size from 90% to 80%. This at least keeps code that
stays within 80 char lines looking nice.
2018-01-20 17:33:37 -08:00
b414d4c870 add Mastodon link 2018-01-20 17:10:19 -08:00
0c44ab688e Merge branch 'test' into posty2 2018-01-19 19:50:07 -08:00
c8dc8f1077 use Source Code Pro for monospace font 2018-01-19 19:49:19 -08:00
ba42d016b3 Twiddle fonts. Quicksand by default, Roboto for content 2018-01-19 19:43:51 -08:00
223fe23667 add links to presence on other sites 2018-01-19 19:28:46 -08:00
d84b9a839e add links to presence on other sites 2018-01-18 23:01:23 -08:00
9bea79f0b0 Replace Raleway with Roberto. Raleway was kind of annoying to read 2018-01-18 22:48:53 -08:00
8ede266169 update config for rss/atom 2018-01-18 22:22:54 -08:00
7308419301 OMG FEATURE PARITY WITH REACT
... almost. It looks identical, just some minor things to fix up.

Yes! the templates exist now and work!!

Add `clean` back to `make all` and use `-c` in `gsutil rsync`, which
will ignore mtime and use checksums when comparing files instead,
meaning we don't have to re-upload all of /media/ every time! (^_^)

Also fix a broken link to the kegerator project page
2018-01-15 22:13:47 -08:00
3d4e86c462 fix page permissions 2018-01-15 20:48:01 -08:00
75714f651c move css/fonts to media, get rid of public folder 2018-01-15 20:44:01 -08:00
29d9dfd1f5 add all make target 2018-01-15 20:40:58 -08:00
0af1cafcd4 Get rid of more JS stuff, replace publish.sh with a Makefile 2018-01-15 20:36:40 -08:00
a32c587c41 update README 2018-01-15 20:31:44 -08:00
8ebedf6765 get rid of JS garbage 2018-01-15 20:30:27 -08:00
787f49f2fc move stuff around for Posty2, add base config 2018-01-14 20:31:13 -08:00
6ced08d443 fix post dates 2017-10-14 21:43:26 -07:00
aaef669aa8 Add publish script, only knows about test so far 2017-10-14 17:27:53 -07:00
3eedb94180 Port the Python build script over to JS
`npm run build` now builds both the site.json file and the React app.
Two new run scripts are available:

* build_site - just build the site.json file
* build_code - build the React app
2017-10-14 17:16:15 -07:00
55610cb0ba Merge the real site metadata into this repo 2017-10-14 10:41:31 -07:00
02a17e1465 Reset the page title in App if it doesn't look right 2017-10-14 10:19:38 -07:00
9b14fc82be set title on pages 2017-10-14 10:17:16 -07:00
064177fbf7 Set titles on post mount/unmount 2017-10-14 10:15:48 -07:00
4fce19a7bf Use a global config for some parameters
This can later be loaded from JSON or something, but for now it just
lives with the rest of the code. I'm already going to mix data with code
in this repo and these values shouldn't change much, so I'm fine with
that.

This is my personal site after all. I'm not expecting to release this in
a way for others to use.
2017-10-14 09:56:45 -07:00
6109bb690d Unify slugify()
Provides a new util.js file with a unified `slugify()` function that also
lowercases the slug. Change all uses of `slugify()` to use this instead.
2017-10-11 22:26:39 -07:00
b9fe8c7f38 match posts on year/month too
Shouldn't assume that slugs will be globally unique, this enforces
month-local uniqueness instead
2017-10-11 22:20:30 -07:00
e22f52b06d Zero-pad months < 10
This is greasy, but it doesn't look like JS has a sprintf-alike
2017-10-11 22:12:30 -07:00
b696005d89 Pick top N tags from posts 2017-10-11 21:35:19 -07:00
2446ec7f95 Replace static bullshit tags with bullshit tags from the state 2017-10-11 20:30:34 -07:00
bfa8c704d7 Tag routes, complete with pagination! 2017-10-11 20:16:44 -07:00
89d0ac2a86 properly link tags in articles 2017-10-11 20:16:18 -07:00
b2e67e0125 deprecate RouterListLink 2017-10-11 20:15:57 -07:00
5a94ee35e6 fix highlighting on posts and pages 2017-10-07 21:00:04 -07:00
7e838f31ec remove HTML comment 2017-10-07 20:00:11 -07:00
062185020b Add links to pages in the sidebar nav 2017-10-07 19:57:06 -07:00
67dd5dbe17 add slug to About test page 2017-10-07 19:35:08 -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
6b0c0f2d88 Scroll to top on location change 2017-10-07 17:46:52 -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
da3307962d tweak page title 2017-10-07 14:52:40 -07:00