Add settings menu by default
Change-Id: Iaa9ae78a425ae716a942356cdc57ec9d5eb1cfdf
diff --git a/templates/partial/side.html.ep b/templates/partial/side.html.ep
index 3f1fc0e..950339c 100644
--- a/templates/partial/side.html.ep
+++ b/templates/partial/side.html.ep
@@ -1,6 +1,22 @@
% my $side_bar = content_block 'sidebar';
-<aside tabindex="0" class="<% unless (length($side_bar) > 1) { %>off<% } elsif (stash('sidebar_active')) { %>active<% } %>">
+% my $classes = '';
+%
+% if (length($side_bar) == 0) {
+% if (my $nav = navigation('settings')) {
+% $side_bar = b('<nav>' . $nav . '</nav>');
+% $classes = 'settings ';
+% };
+% }
+
+% unless (length($side_bar) > 1) {
+% $classes .= ' off';
+% } elsif (stash('sidebar_active')) {
+% $classes .= ' active';
+% };
+
+
+<aside tabindex="0" class="<%= $classes %>">
<div>
%= $side_bar
</div>