From e1cdcf5f334aacdf01fe8b47ad34aaa390573ef7 Mon Sep 17 00:00:00 2001
From: MDLeom <2809763-curben@users.noreply.gitlab.com>
Date: Sun, 16 Aug 2020 03:46:16 +0000
Subject: [PATCH] fix(layout): add default mobile menu
---
themes/chameleon/layout/_partial/header.ejs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/themes/chameleon/layout/_partial/header.ejs b/themes/chameleon/layout/_partial/header.ejs
index df2014c..6853920 100644
--- a/themes/chameleon/layout/_partial/header.ejs
+++ b/themes/chameleon/layout/_partial/header.ejs
@@ -48,9 +48,11 @@
Powered by DuckDuckGo
+ <% if (!theme.menu) { %>Home
+ <% } else { %>
<% for (const i in theme.menu) { %>
<%= i %>
- <% } %>
+ <% }} %>