From f1f218fc755179f026cec324876892f56c227c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Tue, 20 May 2025 13:12:05 +0300 Subject: [PATCH] split top nav into its own view --- views/common/topnav.etlua | 13 +++++++++++++ views/threads/thread.etlua | 11 +---------- 2 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 views/common/topnav.etlua diff --git a/views/common/topnav.etlua b/views/common/topnav.etlua new file mode 100644 index 0000000..9f5cf85 --- /dev/null +++ b/views/common/topnav.etlua @@ -0,0 +1,13 @@ + diff --git a/views/threads/thread.etlua b/views/threads/thread.etlua index 609f515..1bbc5f1 100644 --- a/views/threads/thread.etlua +++ b/views/threads/thread.etlua @@ -1,13 +1,4 @@ - - +<% render("views.common.topnav", {user = user}) -%>