You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2012/10/15 14:40:11 UTC

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

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>