projects
/
nyc.indymedia.org.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa3ac6
)
added randomcategory template for producing random topics on the startpage
author
mtopper
<mtopper>
Sun, 10 Jul 2005 13:09:22 +0000
(13:09 +0000)
committer
mtopper
<mtopper>
Sun, 10 Jul 2005 13:09:22 +0000
(13:09 +0000)
etc/producer/randomcategory.template
[new file with mode: 0755]
patch
|
blob
diff --git a/etc/producer/randomcategory.template
b/etc/producer/randomcategory.template
new file mode 100755
(executable)
index 0000000..
c2f3dd5
--- /dev/null
+++ b/
etc/producer/randomcategory.template
@@ -0,0
+1,12
@@
+<b>${topictitle}</b>
+ <ul>
+
+<list randomarticles as ra>
+ <li><a href="${config["Producer.DocRoot"]}/${language.code}/${ra.date.formatted["yyyy'/'MM"]}/${ra.id}.shtml">${ra.title}"</a></li>
+</list>
+ <small class="publish">
+ <a href="#">more</a> |
+ <a href="#">publish news</a>
+
+
+