Add "boards" context processor
This adds the "boards" context data to all pages, so they can render the boards nav page. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ from board.views import *
|
||||
app_name = "board"
|
||||
urlpatterns = [
|
||||
# Index
|
||||
path("", HomeView.as_view(), name="home"),
|
||||
path("", TemplateView.as_view(template_name="board/home.html"), name="home"),
|
||||
# News views
|
||||
path("news/", NewsListView.as_view(), name="news_list"),
|
||||
# Rules views
|
||||
|
||||
Reference in New Issue
Block a user