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
Search Repo:
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
Added linked_tag_list

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2365 
567b1171-46fb-0310-a4c9-b4bef9110e78
Caged (author)
Fri Oct 13 11:29:55 -0700 2006
commit  4b873c755c8368e7957dcfb06047d589339a39d4
tree    700005401b24e7a4b5309e867b18263cfb3f20f4
parent  b3cdb3e220c96eb4a14f00f01c1a17db413cde83
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 * SVN *
0
 
0
+* Added linked_tag_list(article, separator). Use like linked_section_list.
0
+
0
 * Enhanced the theme preview slightly
0
 
0
 * Changed some wording on moderate comments area
...
13
14
15
16
17
 
 
 
 
 
 
18
19
20
...
13
14
15
 
 
16
17
18
19
20
21
22
23
24
0
@@ -13,8 +13,12 @@ module DropFilters
0
     @context['site'].find_descendant_sections(path)
0
   end
0
   
0
- def linked_section_list(article, seperator = ', ')
0
- article.sections.collect {|s| link_to_section s }.join(seperator)
0
+ def linked_section_list(article, separator = ', ')
0
+ article.sections.collect {|s| link_to_section s }.join(separator)
0
+ end
0
+
0
+ def linked_tag_list(article, separator = ', ')
0
+ article.tags.collect {|t| link_to_tag t }.join(separator)
0
   end
0
 
0
   def latest_articles(site_or_section, limit = nil)

Comments

    No one has commented yet.