Files
website/helpers
H3ALY 2498b33a9c Refactor: Centralize template loading and improve error handling
- Introduced helpers.LoadTemplateFiles() for consistent layout + topbar rendering
- Replaced repeated template.ParseFiles() calls across handlers
- Created generic RenderError(w, r, statusCode) helper
- Replaced old Render403 with flexible RenderError
- Updated AdminOnly middleware to render 403 errors with context
- Added 500.html template for graceful panic fallback
- Prepared structure for future error codes (404, 429, etc.)
2025-04-02 09:12:13 +01:00
..
2025-03-25 21:39:48 +00:00
2025-03-31 15:14:16 +01:00
2025-03-28 13:04:53 +00:00
2025-03-24 23:06:00 +00:00
2025-03-26 09:41:39 +00:00
2025-03-25 15:12:56 +00:00
2025-03-26 08:36:11 +00:00
2025-03-24 23:23:29 +00:00