diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-05-07 02:32:33 +0000 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-05-07 02:32:33 +0000 |
commit | 22a21c142fd10f4caf0b89478f44bb4030f0c11b (patch) | |
tree | 4e581597fe7486b5ee21f605ce8acd0ba3163bd2 /_includes/common/navbar.html | |
parent | bind-mounts: rename the file (diff) | |
download | blog-22a21c142fd10f4caf0b89478f44bb4030f0c11b.tar.gz blog-22a21c142fd10f4caf0b89478f44bb4030f0c11b.zip |
use "remote" Jekyll theme
I moved _includes/, _layouts/, css/ to egor-tensin/jekyll-theme.
Diffstat (limited to '_includes/common/navbar.html')
-rw-r--r-- | _includes/common/navbar.html | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/_includes/common/navbar.html b/_includes/common/navbar.html deleted file mode 100644 index 6cf0e74..0000000 --- a/_includes/common/navbar.html +++ /dev/null @@ -1,33 +0,0 @@ -<nav class="navbar navbar-default navbar-static-top"> - <div class="container"> - <div class="navbar-header"> - <button type="button" class="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="/">{{ site.personal_info.name }}</a> - </div> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - {% assign page_list = site.pages | sort: "navbar_priority" %} - {% for node in page_list %} - {% if node.root_page %} - {% if navbar_has_root_page %} - {% continue %} - {% endif %} - {% assign navbar_has_root_page = true %} - {% endif %} - {% if node.groups contains 'navbar' %} - {% if page.url == node.url %} - <li class="active"><a href="{{ site.baseurl }}{{ node.url }}" class="active">{{ node.navbar_link }}</a></li> - {% else %} - <li><a href="{{ site.baseurl }}{{ node.url }}">{{ node.navbar_link }}</a></li> - {% endif %} - {% endif %} - {% endfor %} - </ul> - </div> - </div> -</nav> |