diff options
Diffstat (limited to 'bn_django/git_wiki/templates/git_wiki/base.html')
-rw-r--r-- | bn_django/git_wiki/templates/git_wiki/base.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/bn_django/git_wiki/templates/git_wiki/base.html b/bn_django/git_wiki/templates/git_wiki/base.html new file mode 100644 index 0000000..6107c04 --- /dev/null +++ b/bn_django/git_wiki/templates/git_wiki/base.html @@ -0,0 +1,39 @@ +{% extends "base.html" %} + +{% block stylesheets %} +{{ block.super }} +<link rel="STYLESHEET" type="text/css" href="style/git_wiki.css"> +<link rel="STYLESHEET" type="text/css" href="/style/git_wiki.css"> +<!--<link rel="STYLESHEET" type="text/css" href="http://static.bryannewbold.com/style/git_wiki.css">--> + +{% endblock %} + +{% block path %} +{{ block.super }} +<a href="/knowledge">knowledge</a> +{% if item %} + » <a href="/k/{{ item.slug }}/">{{ object.title }}</a> +{% endif %} +{% endblock %} + +{% block title %} +{% if item %} +{{ item.title }} +{% endif %} +{% endblock %} + +{% block content %} +{% if item %} + {% block gitwiki %} + {% endblock %} + <br /> + <span class="righty"> + <a href="/k/{{ item.slug }}/pdf/">pdf</a> - <a href="/k/{{ item.slug }}/log">log</a> + </span> + <br /> +{% else %} +<p>No such knowledge!</p> +<p>Perhaps you meant...</p> +{% endif %} + +{% endblock %} |