Difference between revisions of "HypertWiki:Code/lib/data"

From HypertWiki
Jump to navigation Jump to search
(we always show the category now; non-category-displaying should be a separate function)
(general categories for blog posts: data/blog/post and date)
Line 165: Line 165:
     <let name=wtCatGlob append copy=topic />
     <let name=wtCatGlob append copy=topic />
     <let name=wtCatGlob append>]]</let>
     <let name=wtCatGlob append>]]</let>
General categories for blog posts:
-- the fact that it's a post:
    <let name=wtCatGlob append>[[category:data/blog/post]]</let>
-- date:
    <let name=wtCatGlob append>[[category:</let>
    <let name=wtCatGlob append copy=PostDate len=10 /> -- just the date for the category
    <let name=wtCatGlob append>|]]</let>
    <let name=wtCatGlob append copy=PostDate /> -- full timestamp for sorting
    <let name=wtCatGlob append>]]</let>
   </xploop>
   </xploop>
   <let name=user copy=data[User] />
   <let name=user copy=data[User] />

Revision as of 14:26, 14 February 2009