diff options
author | spf13 <steve.francia@gmail.com> | 2013-11-15 21:45:52 -0500 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2013-11-15 21:45:52 -0500 |
commit | 445b7d23fb342298f60825f17f470528fe955c3b (patch) | |
tree | 828add9b734bd587722c5e89aab977f1289a5419 | |
parent | aedfa6a2c4fd761cc0dd4b4c31921432a98577ec (diff) |
Updating docs to include ‘first’ functionality for the homepage
-rw-r--r-- | docs/content/layout/homepage.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/layout/homepage.md b/docs/content/layout/homepage.md index 3ab3112d1..74eb2192f 100644 --- 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> |