Timur Ismagilov
|
59bb34b920
|
Categories: Do not let anons add to/remove from categories
|
2022-03-26 18:31:13 +03:00 |
|
Timur Ismagilov
|
eb88cbf23e
|
Views: Drop the *HTML suffix
|
2022-03-21 00: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
|
cc4f3c9aed
|
Categories: Sanitize names before processing
|
2022-03-20 14:50:18 +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 |
|
Timur Ismagilov
|
d2a4285e7f
|
Categories: Implement category pages
|
2022-03-20 11:21:59 +03:00 |
|