summaryrefslogtreecommitdiff
path: root/themes/hexo-theme-freemind.bithack/layout/_partial/navigation.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hexo-theme-freemind.bithack/layout/_partial/navigation.ejs')
m---------themes/hexo-theme-freemind.bithack0
-rw-r--r--themes/hexo-theme-freemind.bithack/layout/_partial/navigation.ejs23
2 files changed, 23 insertions, 0 deletions
diff --git a/themes/hexo-theme-freemind.bithack b/themes/hexo-theme-freemind.bithack
deleted file mode 160000
-Subproject db335ebdc14507c7687084da084a56eb3d003f1
diff --git a/themes/hexo-theme-freemind.bithack/layout/_partial/navigation.ejs b/themes/hexo-theme-freemind.bithack/layout/_partial/navigation.ejs
new file mode 100644
index 0000000..c006302
--- /dev/null
+++ b/themes/hexo-theme-freemind.bithack/layout/_partial/navigation.ejs
@@ -0,0 +1,23 @@
+<nav id="main-nav" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+ <div class="container">
+ <button type="button" class="navbar-header navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="<%- config.root %>"><%= config.title %></a>
+ <div class="collapse navbar-collapse nav-menu">
+ <ul class="nav navbar-nav">
+ <% theme.menu.forEach(function(m){ %>
+ <li>
+ <a href="<%- config.root %><%- m.url %>" title="<%- m.intro %>">
+ <i class="<%- m.icon %>"></i><%- m.title %>
+ </a>
+ </li>
+ <% }) %>
+ </ul>
+ </div>
+ </div> <!-- container -->
+</nav>
+<div class="clearfix"></div>