diff options
| author | Bobby <[email protected]> | 2025-07-07 15:40:09 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-07-07 15:40:09 +0530 |
| commit | b6a04140f2668a0dcae4befcd272e05b75bd14e5 (patch) | |
| tree | bec232ae247690bf030bf05a452192f264df8c92 /controllers/posts.go | |
| parent | 98afdc4673f616bc61f9ef673580ca3933bdef8a (diff) | |
| download | imageboard-b6a04140f2668a0dcae4befcd272e05b75bd14e5.tar.xz imageboard-b6a04140f2668a0dcae4befcd272e05b75bd14e5.zip | |
fix templates to use proper layout and semantic forms instead of tables
Diffstat (limited to 'controllers/posts.go')
| -rw-r--r-- | controllers/posts.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controllers/posts.go b/controllers/posts.go index 6fdcd26..c3da9c1 100644 --- a/controllers/posts.go +++ b/controllers/posts.go @@ -8,6 +8,7 @@ import ( func PostsController(ctx *fiber.Ctx) error {
ctx.Locals("Title", "Posts")
+ ctx.Locals("request", fiber.Map{"path": ctx.Path()})
searchQuery := ctx.Query("tags", "")
|
