took out publish_path because it doesn't exist for content only for media
[nyc.indymedia.org.git] / etc / producer / topicpage.template
index a6535d9..fef5c3d 100755 (executable)
    <meta name="dc:rights" content="">
    <meta http-equiv="expires" content="599">
    <meta http-equiv="pragma" content="no-cache">
-   <link rel="stylesheet" type="text/css" href="/css/main.css" />
+   <link rel="stylesheet" type="text/css" href="http://sarai.indymedia.org/~patrick/mir.nyc/css/main.css" />
 
 </head>
 
-<body class="interior">
+<body class="interior" class="topicPage">
 
 <!--#include virtual="/${language.code}/navigation.html" -->
 
+         <p class="pageTitle">
+            ${topic.title}
+         </p>
          <div class="featuredArticles">
 
          <!-- begin topic special -->
@@ -43,8 +46,8 @@
             </p>
             <p class="summary">
                <small class="author">${sorig.creator}<if sorig.id!=s.id>(${lang("general.translatedby", s.creator)})</if>&#160;|</small> ${s.description_parsed}
-               <small><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyy'/'MM"]}/${s.id}.html" class="readMore">${lang("general.readmore")}</a>&#160; 
-               <span class="comments">${n.commentcount}&#160;Comments</span></small>
+               <small><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.html" class="readMore">${lang("general.readmore")}</a>&#160; 
+               <span class="comments">${s.commentcount}&#160;Comments</span></small>
             </p>
 
             </list>
@@ -66,9 +69,9 @@
             <p class="summary">
                <small class="author">${aorig.creator}<if aorig.id!=i.id>(${lang("general.translatedby", i.creator)})</if>&#160;|</small> ${i.description_parsed}
                <small><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.html" class="readMore">${lang("general.readmore")}</a>&#160; 
-               <span class="comments">${n.commentcount}&#160;Comments</span></small>
+               <span class="comments">${i.commentcount}&#160;Comments</span></small>
             </p>
-         </list>  
+        </list>
          <!-- end articles -->
          
          <!-- begin next/previous -->
                   <li>
                      <p class="title">
                         <img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/video.666.gif" class="icon" width="10" height="8" alt="" />
-                        <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.shtml"
+                        <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.html"
                      </p>
                      <p class="datestamp">
                         ${n.date.formatted.MMM} ${n.date.formatted.dd}th,