dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 52b785c031dff5223b648fff6ccfb424a82577aa
parent 1cd413745acf1af6f5ba8f661e6a291669fb2993
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 28 Nov 2024 17:48:16 -0800

xmas background

Diffstat:
Mpkg/template/templates.go | 2++
Apkg/web/public/img/xmas.jpg | 0
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pkg/template/templates.go b/pkg/template/templates.go @@ -106,6 +106,8 @@ func (t *Templates) Render(w io.Writer, name string, data any, c echo.Context) e } else if month == time.October { d.WallpaperImg = "/public/img/halloween_bg.jpg" } else if month == time.December { + d.WallpaperImg = "/public/img/xmas.jpg" + } else if month == time.January { d.WallpaperImg = "/public/img/login_bg_1.jpg" } else if d.IsAprilFool2023 { d.WallpaperImg = "/public/img/login_bg_2.jpg" diff --git a/pkg/web/public/img/xmas.jpg b/pkg/web/public/img/xmas.jpg Binary files differ.