Created
January 23, 2015 22:55
-
-
Save JoeMalt/81e32100df002a72336e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###in layout.htm, the global template | |
<div class="navbar"> | |
<div class="navbar-inner"> | |
<a class="brand" href="#">KECHB: IsItWeekA.com</a> | |
<ul class="nav"> | |
<li {% block home_active %}{% endblock %}><a href="/">Home</a></li> | |
<li {% block about_active %}{% endblock %}><a href="/about/">About</a></li> | |
</ul> | |
</div> | |
</div> | |
###index.htm | |
{% extends "layout.htm" %} | |
{% block home_active %} | |
class="active" | |
{% endblock %} | |
{% block body %} | |
#the body of the page | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment