1
Fork 0

Build navbar dynamically

This commit is contained in:
Jake Howard 2017-01-15 13:25:24 +00:00
parent 1dc3947d4e
commit b5c4a360d7
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,8 @@
---
hide_from_nav: true
---
I've always had a keen interest with security and privacy. Whether it's protecting my personal information, or needlessly encrypting things, security is very important to me. With an interest in keeping things secure, comes an interest in breaking through others security. I've always had a keen interest with security and privacy. Whether it's protecting my personal information, or needlessly encrypting things, security is very important to me. With an interest in keeping things secure, comes an interest in breaking through others security.
Whenever I start using a new tool, or piece of software, I almost instantly go to the security settings and check out what it supports. The same goes for making the software, I've been known to spend a lot of extra time working on the security aspect more than actual features. Whenever I start using a new tool, or piece of software, I almost instantly go to the security settings and check out what it supports. The same goes for making the software, I've been known to spend a lot of extra time working on the security aspect more than actual features.

View file

@ -8,15 +8,16 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand page-scroll" href="/"> <a class="navbar-brand page-scroll" href="/">
TheOrangeOne {{ SITENAME }}
</a> </a>
</div> </div>
<div class="collapse navbar-collapse" id="main-navbar"> <div class="collapse navbar-collapse" id="main-navbar">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li><a href="/about/">About</a></li> {% for category, articles in categories %}
<li><a href="/blog/">Blog</a></li> {% if not category.page.hide_from_nav %}
<li><a href="/projects/">Projects</a></li> <li><a href="/{{ category.url }}">{{ category.name }}</a></li>
<li><a href="/setup/">Setup</a></li> {% endif %}
{% endfor %}
</ul> </ul>
</div> </div>
</div> </div>