[Groonga-commit] groonga/gcs.groonga.org [gh-pages] Fix articles to be rendered on their page

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 4日 (水) 11:08:28 JST


Yoji SHIDARA	2012-07-04 11:08:28 +0900 (Wed, 04 Jul 2012)

  New Revision: bf51c894212065ce5cf8111a067aeab81422a0d8
  https://github.com/groonga/gcs.groonga.org/commit/bf51c894212065ce5cf8111a067aeab81422a0d8

  Log:
    Fix articles to be rendered on their page

  Modified files:
    _includes/post.html

  Modified: _includes/post.html (+5 -1)
===================================================================
--- _includes/post.html    2012-07-04 10:53:26 +0900 (750693c)
+++ _includes/post.html    2012-07-04 11:08:28 +0900 (d577233)
@@ -9,4 +9,8 @@
   {% endif %}
   <p>{{ post.date | date: '%Y-%m-%d' }}</p>
 </div>
-{{ post.content }}
+{% if page.is_index %}
+  {{ post.content }}
+{% else %}
+  {{ content }}
+{% endif %}
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index