aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_wiki/templates
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/git_wiki/templates')
-rw-r--r--bn_django/git_wiki/templates/git_wiki/base.html5
-rw-r--r--bn_django/git_wiki/templates/git_wiki/item.html4
2 files changed, 4 insertions, 5 deletions
diff --git a/bn_django/git_wiki/templates/git_wiki/base.html b/bn_django/git_wiki/templates/git_wiki/base.html
index eefaa9a..ded3c25 100644
--- a/bn_django/git_wiki/templates/git_wiki/base.html
+++ b/bn_django/git_wiki/templates/git_wiki/base.html
@@ -4,13 +4,16 @@
{{ 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" />-->
+<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 %}
+ &raquo; <a href="/k/{{ item.slug }}/">{{ object.title }}</a>
+{% endif %}
{% endblock %}
{% block title %}
diff --git a/bn_django/git_wiki/templates/git_wiki/item.html b/bn_django/git_wiki/templates/git_wiki/item.html
index 7562fc6..0df1b72 100644
--- a/bn_django/git_wiki/templates/git_wiki/item.html
+++ b/bn_django/git_wiki/templates/git_wiki/item.html
@@ -1,15 +1,11 @@
{% extends "git_wiki/base.html" %}
-{% load markup %}
-
{% block path %}{{ block.super }} &raquo; <a href="/k/{{ item.slug }}/">
{{ item.path }}</a>{% endblock %}
{% block title %}Knowledge Item: {{ item.path }}{% endblock %}
{% block gitwiki %}
- {{ item.contents|restructuredtext }}
- <br /><hr />
<h3>Item name:</h3>
<span class="hash">{{ item.name }}</span>
<h3>Item sha1 hash:</h3>