roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r429512 - /incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/weblog.vm
Date Mon, 07 Aug 2006 23:35:35 GMT
Author: agilliland
Date: Mon Aug  7 16:35:34 2006
New Revision: 429512

URL: http://svn.apache.org/viewvc?rev=429512&view=rev
Log:
when doing a template include we only parse based on page id.  using page name does not work
and in some cases could give us the wrong template.


Modified:
    incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/weblog.vm

Modified: incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/weblog.vm
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/weblog.vm?rev=429512&r1=429511&r2=429512&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/weblog.vm (original)
+++ incubator/roller/branches/roller_3.0/web/WEB-INF/velocity/weblog.vm Mon Aug  7 16:35:34
2006
@@ -55,8 +55,6 @@
     #set($pageArg = $weblog.getPageByName($pageName))
     #if ($pageArg) 
        #parse($pageArg.id)
-    #else ## no page found, use pageName as id
-        #parse($pageName)
     #end
 #end
 



Mime
View raw message