mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
edb19880b1
This commit introduces a significant refactoring of the ranking calendar functionality. The main changes include: 1. Created a new `DayCalendar` struct to represent calendar data. 2. Modified `GetRankingCalendar` to return a slice of `DayCalendar` instead of generating HTML directly. 3. Updated the template to use the new `DayCalendar` struct for rendering. 4. Moved HTML generation from Go code to the template.