Timur Ismagilov
fe360f582d
Replace bullet-less lists with numbered lists
2022-04-21 18:05:15 +03:00
Timur Ismagilov
6cf59f5e2d
Categories: Keep them sorted
...
* The input from the disk is sorted in-memory, because an admin might want to fiddle with categories.json directly and break the sorted order.
* Insertion/deletion preserve order, thanks to a new dependency.
* The dependency is an official golang package, so I think it's safe to have it.
2022-04-17 16:07:33 +03:00
Timur Ismagilov
9eb92cfa6e
Misc: Port /list to the new approach
2022-04-02 10:10:32 +03:00
Timur Ismagilov
f9857768b7
Categories: Rename exported functions
2022-04-02 01:01:54 +03:00
Timur Ismagilov
0ab4bb5846
Categories: Localized titles
2022-04-02 00:59:47 +03:00
Timur Ismagilov
9d971871eb
Categories: Log category mutations
2022-04-02 00:46:21 +03:00
Timur Ismagilov
e69c1dc2f9
Categories, views: Unexport stuff
2022-04-02 00:43:11 +03:00
Timur Ismagilov
686c329615
Categories, views: Give the card view its own file, make title a block
2022-04-02 00:35:40 +03:00
Timur Ismagilov
cbf416d7bb
Categories, views: Implement viewutil.Chain
2022-04-02 00:18:37 +03:00
Timur Ismagilov
ca3da43e53
Categories, views: Refactor the cat page view
2022-04-02 00:07:28 +03:00
Timur Ismagilov
c3fafb735f
Categories, views: Refactor the list view
2022-04-01 23:52:56 +03:00
Timur Ismagilov
3dad3a3a4f
Move package categories to the root level
2022-04-01 22:52:38 +03:00