From 78880845705aac032d659137566eb91a1d58ba95 Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Fri, 28 Nov 2008 13:26:58 +0100 Subject: [PATCH] The 'index' story substitutes the full list in 'TOPIC'. --- RELEASE_NOTES | 2 +- templates/artemus/ALL/TOPIC | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index e462280..1a97ba5 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -14,7 +14,7 @@ Gruta Release Notes Sheet instead of having it embedded in all output. * A new supertemplate called SITEMAP (to be aliased to /sitemap.xml). * If a story called `index' is present in a topic, the 'TOPIC' template - shows its body instead of just the name of the topic. + shows its body instead of the list of stories in it. * Several new commands in the `gruta' command line tool; _new_story_ (to create a new story from STDIN), _import_rss_ (to import an RSS file into a topic), _update_story_ (to update a story from STDIN). diff --git a/templates/artemus/ALL/TOPIC b/templates/artemus/ALL/TOPIC index 6f312bb..20aa9cd 100644 --- a/templates/artemus/ALL/TOPIC +++ b/templates/artemus/ALL/TOPIC @@ -23,14 +23,14 @@ \{-story_body\|{-var|topic}\|index\} | -

{-topic_name|{-var|topic}}

- } +

\{-topic_name\|\{-var\|topic\}\}

- {-story_list|{-var|topic}|{-var|num|{-cfg_topic_num}}|{-var|offset|0}} + \{-story_list\|\{-var\|topic\}\|\{-var\|num\|\{-cfg_topic_num\}\}\|\{-var\|offset\|0\}\} - + + } {-footer} -- 2.11.4.GIT