fixed error and added log message
[nyc.indymedia.org.git] / etc / producer / randomcategory.template
index 7c19df4..2ffcfd2 100755 (executable)
@@ -1,9 +1,9 @@
                   <ul>
-                       <li><b><a href="#">${topictitle}</a></b>
+                       <li><b><a href="${config["Producer.DocRoot"]}/${language.code}/${topicfile}/archive.html">${topictitle}</a></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>
+                              <a href="${config["Producer.DocRoot"]}/${language.code}/${ra.date.formatted["yyyy'/'MM"]}/${ra.id}.html">${ra.title}</a>
                            </li> 
                         </list>  
                         </ul>