Fitness dashboard v1

This commit is contained in:
2026-06-11 12:55:43 +02:00
parent 4f14b39d16
commit fde4eff12d
6 changed files with 881 additions and 5 deletions
+1 -2
View File
@@ -159,7 +159,7 @@ func parseDiaryURLParts(fsPath string, depth int) (year, month, day string, ok b
return "", "", "", false
}
func (d *diaryHandler) handle(root, fsPath, urlPath string) *specialPage {
func (d *diaryHandler) handle(root, fsPath, urlPath string, _ *http.Request) *specialPage {
depth, diaryRootFS, diaryRootURL, ok := findDiaryContext(root, fsPath, urlPath)
if !ok {
return nil
@@ -544,7 +544,6 @@ func buildMonthGrid(year, month int, today time.Time, currentDay int, hasDayEntr
return weeks
}
// diaryPhoto is a photo file whose name starts with a YYYY-MM-DD date prefix.
type diaryPhoto struct {
Date time.Time