Commit graph

114 commits

Author SHA1 Message Date
Magnus Hoff
c85715c969 Start tracking authors for edits. #6 2017-10-18 16:33:21 +02:00
Magnus Hoff
6067ed8ddd Try new monospace font list 2017-10-16 13:18:12 +02:00
Magnus Hoff
5e93a8ddaf Attempt to fix monospace font size with font-size-adjust 2017-10-16 13:13:33 +02:00
Magnus Hoff
2b6932fade Add rel-attributes for pagination links 2017-10-16 10:16:52 +02:00
Magnus Hoff
94b3966e46 Rudimentary pagination for _changes 2017-10-15 23:15:12 +02:00
Magnus Hoff
8b2e601a46 Cleanup 2017-10-15 17:31:11 +02:00
Magnus Hoff
6d3d48c56e Parse query args for pagination in /_changes 2017-10-15 17:22:38 +02:00
Magnus Hoff
4f9cf4d15e Refactor assets routing 2017-10-15 16:49:55 +02:00
Magnus Hoff
c0521b5703 Refactor routing 2017-10-15 16:34:27 +02:00
Magnus Hoff
f40b6ce70d Refactor routing 2017-10-15 14:26:22 +02:00
Magnus Hoff
da9f1b84f7 Strip symbols from the produced binary.
This reduces the filesize at no cost, since backtraces are disabled with panic=abort
2017-10-15 13:13:07 +02:00
Magnus Hoff
4756441064 Refactor path splitting in router 2017-10-14 15:13:03 +02:00
Magnus Hoff
f23695312e Fix hr for new style regime 2017-10-14 00:08:03 +02:00
Magnus Hoff
a009c824b6 Fix responsive layout for ul.dense 2017-10-13 16:51:48 +02:00
Magnus Hoff
3462c90d96 Try smaller monospace text 2017-10-13 16:40:35 +02:00
Magnus Hoff
73943fb9d0 Try different styling for links 2017-10-13 16:40:07 +02:00
Magnus Hoff
73df2edc1a More humane timedate formatting in footer 2017-10-13 16:31:31 +02:00
Magnus Hoff
b5bcd66011 Introduce base href 2017-10-13 16:05:22 +02:00
Magnus Hoff
f2de8111c9 Structure template folder
Move errors to their own folder
2017-10-13 15:36:22 +02:00
Magnus Hoff
3715f9de64 Flesh out error pages a little bit 2017-10-13 15:27:35 +02:00
Magnus Hoff
8e58647e45 Structure template folder 2017-10-13 15:25:44 +02:00
Magnus Hoff
d1a3814286 Collect Resource types in a module 2017-10-13 15:21:23 +02:00
Magnus Hoff
5c161ed13e Refactor footer.
Add link to home page, this fixes #9.

Add links to _changes and _sitemap
2017-10-13 15:14:12 +02:00
Magnus Hoff
2cb80e2bac Add sitemap. This fixes #3 2017-10-13 15:06:16 +02:00
Magnus Hoff
5f93f3d744 Better fix for broken editor styling 2017-10-13 14:46:54 +02:00
Magnus Hoff
7aad6331c7 Fix broken styling of editor 2017-10-12 15:02:02 +02:00
Magnus Hoff
4ed28f99f3 Enable table extension for markdown, for issue #4 2017-10-12 14:56:43 +02:00
Magnus Hoff
eccde9d161 Update styling
Now supports different widths for different elements. Used to make tables have their own width
2017-10-12 14:50:19 +02:00
Magnus Hoff
1aeba7b2e3 Simplify _changes list 2017-10-03 22:31:27 +02:00
Magnus Hoff
f22ffc112a Add basic /_changes page 2017-10-03 10:37:18 +02:00
Magnus Hoff
370cbd0c24 Add default implementations for dispatch methods in Resource trait 2017-10-03 10:36:21 +02:00
Magnus Hoff
f7eada496e Remove temporary table that was accidentally kept around 2017-10-03 10:31:54 +02:00
Magnus Hoff
2a5f98d43e Slightly less mindless copying 2017-10-02 21:47:21 +02:00
Magnus Hoff
b21a7ccda4 Don't try to handle fragment in router.
It is strictly a client-side mechanism
2017-10-02 21:35:52 +02:00
Magnus Hoff
cdcdf8e72f Refactor server-side initiated edit mode.
Implement support for opening articles for editing without javascript
2017-10-02 21:30:31 +02:00
Magnus Hoff
413675e152 Add link to /_new in footer 2017-10-02 17:17:40 +02:00
Magnus Hoff
02dd55df39 Cleanup 2017-10-02 17:11:18 +02:00
Magnus Hoff
1d485798eb Implement /_new, for creating new articles without making up a URL first 2017-10-02 17:08:59 +02:00
Magnus Hoff
ce1bbee22c Sort some lists of things lexicographically 2017-10-01 23:26:57 +02:00
Magnus Hoff
7562961093 Percent decode path segments of URL 2017-10-01 23:24:16 +02:00
Magnus Hoff
804bfa074c Compile release with panic=abort.
Unwinding is never utilized, so no reason to compile it in.

This saves 3% on the binary size, and should also generate slightly faster code
2017-10-01 22:50:44 +02:00
Magnus Hoff
dc4a136336 Cleanup 2017-10-01 22:35:06 +02:00
Magnus Hoff
17e1186fc8 Tweak styling. Add link to Sausagewiki repo 2017-10-01 22:15:34 +02:00
Magnus Hoff
eaba024c3a Style tweaks 2017-09-27 19:46:37 +02:00
Magnus Hoff
f205de053a Allow edit requests to include credentials 2017-09-26 13:39:44 +02:00
Magnus Hoff
3c0186ea1a Fix styling bugs 2017-09-26 09:50:59 +02:00
Magnus Hoff
069ea6daa7 Style tweaks.
Left and right padding. Contain images within block
2017-09-26 09:35:15 +02:00
Magnus Hoff
5b739ff311 Typo 2017-09-25 16:47:13 +02:00
Magnus Hoff
2e088e2e32 Change email-link in README.md 2017-09-25 16:34:21 +02:00
Magnus Hoff
85a4064d4c Flesh out README.md a bit 2017-09-25 15:41:14 +02:00