hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 445b7d23fb342298f60825f17f470528fe955c3b
parent aedfa6a2c4fd761cc0dd4b4c31921432a98577ec
Author: spf13 <steve.francia@gmail.com>
Date:   Fri, 15 Nov 2013 21:45:52 -0500

Updating docs to include ‘first’ functionality for the homepage

Diffstat:
Mdocs/content/layout/homepage.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/content/layout/homepage.md b/docs/content/layout/homepage.md
@@ -43,7 +43,7 @@ It makes use of [chrome templates](/layout/chrome)
 
     <section id="main">
       <div>
-        {{ range .Data.Pages }}
+        {{ range first 10 .Data.Pages }}
             {{ .Render "summary"}}
         {{ end }}
       </div>