9 Commits

Author SHA1 Message Date
Alex Ling
01216d806c Add a helper function to combine the two steps of filenames sorting
(splitting and comparing)
2020-03-12 23:52:49 +00:00
Alex Ling
c4ffb5cd59 Handle the case when two split arrays have different size in
`compare_alphanumerically`
2020-03-12 23:51:09 +00:00
Alex Ling
50ce0e2b54 Fix typo 2020-03-12 23:49:40 +00:00
Alex Ling
8b8967de26 Simplify the split_by_alphanumeric function 2020-03-12 23:49:02 +00:00
Leeingnyo
d120433525 Sort page alphanumerically
See https://ux.stackexchange.com/questions/95431/how-should-sorting-work-when-numeric-is-mixed-with-alpha-numeric
2020-03-13 02:27:59 +09:00
Alex Ling
bb936b1fa6 - group config/library/storage into context 2020-02-16 18:25:28 +00:00
Alex Ling
713694fd85 - formating 2020-02-16 16:53:20 +00:00
Alex Ling
21fcde944d - when building for release, embed the static files in binary 2020-02-15 23:29:11 +00:00
Alex Ling
0c177c3d31 - move all routes to server.cr 2020-02-15 19:27:12 +00:00