From 2f81eff5ea7c0c13ab3028cee35b591f56d76e2a Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sat, 24 Feb 2007 16:51:49 -0800 Subject: added restructured text processing, fixed path bug in knowledge --- bn_django/git_wiki/templates/git_wiki/base.html | 3 --- bn_django/git_wiki/templates/git_wiki/item.html | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'bn_django/git_wiki') diff --git a/bn_django/git_wiki/templates/git_wiki/base.html b/bn_django/git_wiki/templates/git_wiki/base.html index 526a707..eefaa9a 100644 --- a/bn_django/git_wiki/templates/git_wiki/base.html +++ b/bn_django/git_wiki/templates/git_wiki/base.html @@ -11,9 +11,6 @@ {% block path %} {{ block.super }} knowledge -{% if item %} - » {{ object.title }} -{% 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 0df1b72..7562fc6 100644 --- a/bn_django/git_wiki/templates/git_wiki/item.html +++ b/bn_django/git_wiki/templates/git_wiki/item.html @@ -1,11 +1,15 @@ {% extends "git_wiki/base.html" %} +{% load markup %} + {% block path %}{{ block.super }} » {{ item.path }}{% endblock %} {% block title %}Knowledge Item: {{ item.path }}{% endblock %} {% block gitwiki %} + {{ item.contents|restructuredtext }} +

Item name:

{{ item.name }}

Item sha1 hash:

-- cgit v1.2.3