[Groonga-commit] groonga/groonga.org at a6e1886 [gh-pages] blog: use site.posts limit:10 instead of paginator.posts

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jun 18 20:11:08 JST 2013


Kouhei Sutou	2013-06-18 20:11:08 +0900 (Tue, 18 Jun 2013)

  New Revision: a6e188623e464fd7afeb19ebc3f35054000a815d
  https://github.com/groonga/groonga.org/commit/a6e188623e464fd7afeb19ebc3f35054000a815d

  Message:
    blog: use site.posts limit:10 instead of paginator.posts
    
    Because Jekyll's paginator is available only the top index.html... We
    can't use pagiantor in blog/ and ja/blog/...

  Modified files:
    blog/index.html
    ja/blog/index.html

  Modified: blog/index.html (+1 -1)
===================================================================
--- blog/index.html    2013-06-11 14:52:29 +0900 (7d8a765)
+++ blog/index.html    2013-06-18 20:11:08 +0900 (92394d1)
@@ -3,7 +3,7 @@ layout: en
 title: blogroonga
 ---
 <div id="posts">
-  {% for post in paginator.posts %}
+  {% for post in site.posts limit:10 %}
     {% if post.categories contains "en" %}
     <div class="post">
       <span class="date"><a href="{{ post.url}}" title="{{ post.title | escape }} ({{post.date | date: '%Y-%m-%d' }})">{{ post.date | date: "%Y-%m-%d" }}</a></span>

  Modified: ja/blog/index.html (+1 -1)
===================================================================
--- ja/blog/index.html    2013-06-11 14:52:29 +0900 (1cfab13)
+++ ja/blog/index.html    2013-06-18 20:11:08 +0900 (bb04dc4)
@@ -3,7 +3,7 @@ layout: ja
 title: blogroonga
 ---
 <div id="posts">
-  {% for post in paginator.posts %}
+  {% for post in site.posts limit:10 %}
     {% if post.categories contains "ja" %}
     <div class="post">
       <span class="date"><a href="{{ post.url}}" title="{{ post.title | escape }} ({{post.date | date: '%Y-%m-%d' }})">{{ post.date | date: "%Y-%m-%d" }}</a></span>
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index