public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
dont enumerate sections for article versions

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2578 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Sat Dec 23 11:46:31 -0800 2006
commit  20830723af8300963d4ac96815c8fb3cc0fef75f
tree    0c3a54a2e5e886ece9474535e00663cc396c5626
parent  f19e0a89f0f771518368abfef5daacb94d8d4993
...
7
8
9
10
 
11
12
13
...
7
8
9
 
10
11
12
13
0
@@ -7,7 +7,7 @@ xm.entry 'xml:base' => home_url do
0
   xm.updated article.updated_at.xmlschema
0
   article.sections.each do |section|
0
     xm.category "term" => section.name unless section.home?
0
- end
0
+ end if article.respond_to?(:sections)
0
   article.tags.each do |tag|
0
     xm.category "term" => tag.name
0
   end

Comments

    No one has commented yet.