From 3a0e84add08b0028d4b08728073ddf9945dc3be0 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 4 Mar 2007 12:33:37 -0800 Subject: added GITWIKI_DIR var and added new knowledge to frontpage --- bn_django/templates/frontpage.html | 1 + bn_django/templates/newknowldge_table | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 bn_django/templates/newknowldge_table (limited to 'bn_django/templates') diff --git a/bn_django/templates/frontpage.html b/bn_django/templates/frontpage.html index dc3f450..d3eed9d 100644 --- a/bn_django/templates/frontpage.html +++ b/bn_django/templates/frontpage.html @@ -39,6 +39,7 @@ For more recent content see the timeline
Latest knowledge
{% if latest_knowledge %} +{% include "newknowldge_table" %} {% else %} None yet!








diff --git a/bn_django/templates/newknowldge_table b/bn_django/templates/newknowldge_table new file mode 100644 index 0000000..686a12f --- /dev/null +++ b/bn_django/templates/newknowldge_table @@ -0,0 +1,13 @@ +{% if latest_knowledge %} + +{% for l in latest_knowledge %} + + + + +{% endfor %} +
+ {{ l.date }} + + {{ l.description|truncatewords:6 }}
+{% else %}No shortlog!{% endif %} -- cgit v1.2.3