beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [1/3] beam-site git commit: Limit the number of blog posts listed on the main page
Date Tue, 10 Jan 2017 09:06:05 GMT
Repository: beam-site
Updated Branches:
  refs/heads/asf-site a46c512c3 -> 98820c672


Limit the number of blog posts listed on the main page

Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/add05e1e
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/add05e1e
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/add05e1e

Branch: refs/heads/asf-site
Commit: add05e1e00031134afa538c7b8259fa47ffb9f7c
Parents: a46c512
Author: Davor Bonaci <davorbonaci@users.noreply.github.com>
Authored: Tue Jan 10 00:31:03 2017 -0800
Committer: GitHub <noreply@github.com>
Committed: Tue Jan 10 00:31:03 2017 -0800

----------------------------------------------------------------------
 src/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam-site/blob/add05e1e/src/index.md
----------------------------------------------------------------------
diff --git a/src/index.md b/src/index.md
index bb51dfd..535051f 100644
--- a/src/index.md
+++ b/src/index.md
@@ -24,7 +24,7 @@ Beam is an [Apache Software Foundation](http://www.apache.org) project,
availabl
   <div class="col-md-6">
     <h2>Blog</h2>
     <div class="list-group">
-    {% for post in site.posts %}
+    {% for post in site.posts limit:7 %}
     <a class="list-group-item" href="{{ post.url | prepend: site.baseurl }}">{{ post.date
| date: "%b %-d, %Y" }} - {{ post.title }}</a>
     {% endfor %}
     </div>


Mime
View raw message