incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1398269 - /sling/site/trunk/content/documentation/tutorials-how-tos/46-line-blog.mdtext
Date Mon, 15 Oct 2012 12:40:11 GMT
Author: fmeschbe
Date: Mon Oct 15 12:40:11 2012
New Revision: 1398269

URL: http://svn.apache.org/viewvc?rev=1398269&view=rev
Log:
SLING-2002 Apply patch by Santiago Gala (thanks alot)

Modified:
    sling/site/trunk/content/documentation/tutorials-how-tos/46-line-blog.mdtext

Modified: sling/site/trunk/content/documentation/tutorials-how-tos/46-line-blog.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/tutorials-how-tos/46-line-blog.mdtext?rev=1398269&r1=1398268&r2=1398269&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/tutorials-how-tos/46-line-blog.mdtext (original)
+++ sling/site/trunk/content/documentation/tutorials-how-tos/46-line-blog.mdtext Mon Oct 15
12:40:11 2012
@@ -100,13 +100,13 @@ Add the following code to your script, a
 
     <h3>Navigation</h3>
     <ul>
-        <li><em><a href="/content/blog/*.html">[Create new post]({{ refs.create-new-post.path
}})</a></em></li>
+        <li><em><a href="/content/blog/*.html">[Create new post]</a></em></li>
         <script>
           var posts = Sling.getContent("/content/blog", 2);
           for(var i in posts) {
             document.write("<li>"
               + "<a href='/content/blog/" + i + ".html'>"    
-              + posts[i]({{ refs.i.path }}).title
+              + posts[i].title
               + "</a></li>");
           }
         </script>



Mime
View raw message