diff --git a/res/include/img/background_patterns/checker14.png b/res/include/img/background_patterns/checker14.png index 549b071..12a0141 100644 Binary files a/res/include/img/background_patterns/checker14.png and b/res/include/img/background_patterns/checker14.png differ diff --git a/res/include/img/background_patterns/checker15.png b/res/include/img/background_patterns/checker15.png index b1a8fbb..b1b8c28 100644 Binary files a/res/include/img/background_patterns/checker15.png and b/res/include/img/background_patterns/checker15.png differ diff --git a/res/include/img/background_patterns/checker17.png b/res/include/img/background_patterns/checker17.png new file mode 100644 index 0000000..44f37aa Binary files /dev/null and b/res/include/img/background_patterns/checker17.png differ diff --git a/res/include/img/background_patterns/checker_dwarf.png b/res/include/img/background_patterns/checker_dwarf.png new file mode 100644 index 0000000..1757ea5 Binary files /dev/null and b/res/include/img/background_patterns/checker_dwarf.png differ diff --git a/webcontroller/templates.go b/webcontroller/templates.go index 64444a6..0b80b61 100644 --- a/webcontroller/templates.go +++ b/webcontroller/templates.go @@ -217,6 +217,8 @@ func (tm *TemplateManager) bgPattern() template.URL { if now.Weekday() == time.Wednesday && rand.Intn(20) == 0 { file = "checker_wednesday.png" + } else if month == time.August && day == 8 { + file = "checker_dwarf.png" } else if month == time.August && day == 24 { file = "checker_developers.png" } else if month == time.October && day == 31 { @@ -224,7 +226,7 @@ func (tm *TemplateManager) bgPattern() template.URL { } else if month == time.December && day == 25 || day == 26 || day == 27 { file = "checker_christmas.png" } else { - file = fmt.Sprintf("checker%d.png", now.UnixNano()%17) + file = fmt.Sprintf("checker%d.png", now.UnixNano()%18) } var buf = bytes.Buffer{}