1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-14 22:20:25 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Timur Ismagilov
a5cb7c0a3d Categories: Perform l10n tricks 2022-03-23 15:46:08 +03:00
Timur Ismagilov
4d56657938 Categories: Localize the categories card 2022-03-22 16:57:25 +03:00
Timur Ismagilov
81c075bfb4 Categories: Style the categories card 2022-03-22 16:40:40 +03:00
Timur Ismagilov
40bb20a89c L10n experiment no. 6 (?)
Use the template system for default English keys and then redefine them with Russian versions.

This is kinda weird.
2022-03-20 22:24:40 +03:00
Timur Ismagilov
7865f77060 Categories: Add category list
* /category lists categories
* /category/<cat> shows the category
2022-03-20 21:24:54 +03:00
Timur Ismagilov
9a60cc2386 Categories: Add addition to/removal from categories
* The result of operations is not saved on disk.
* TODO: handle bad names
2022-03-20 12:28:51 +03:00
Timur Ismagilov
ea0c2f35d1 Categories: Refactor a little
* Introduce views.Meta for passing common stuff around.
* Store both category-related templates in one HTML file, which is go:embed:ded.
* Fix a bug.
2022-03-20 12:04:08 +03:00