[Groonga-commit] groonga/gcs.groonga.org [gh-pages] Place like widgets to the fb page except on blog

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 4日 (水) 14:58:02 JST


Yoji SHIDARA	2012-07-04 14:58:02 +0900 (Wed, 04 Jul 2012)

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

  Log:
    Place like widgets to the fb page except on blog

  Modified files:
    _layouts/default.html
    _layouts/post.html
    blog/index.md

  Modified: _layouts/default.html (+3 -0)
===================================================================
--- _layouts/default.html    2012-07-04 13:19:12 +0900 (df3752c)
+++ _layouts/default.html    2012-07-04 14:58:02 +0900 (3d4bef1)
@@ -22,6 +22,9 @@
     {% include facebook-sdk.html %}
     <h1 id="global-heading"><a href="/">Groonga CloudSearch</a></h1>
     {{ content }}
+    {% unless page.is_blog %}
+    <div class="fb-like" data-href="https://www.facebook.com/GroongaCloudSearch" data-send="false" data-width="450" data-show-faces="true"></div>
+    {% endunless %}
     <nav>
       <ul>
         <li><a href="/docs/">Documentation</a></li>

  Modified: _layouts/post.html (+1 -0)
===================================================================
--- _layouts/post.html    2012-07-04 13:19:12 +0900 (4542699)
+++ _layouts/post.html    2012-07-04 14:58:02 +0900 (60b04cf)
@@ -1,5 +1,6 @@
 ---
 layout: default
+is_blog: true
 ---
 <h1>Groonga CloudSearch blog</h1>
 {% include post.html %}

  Modified: blog/index.md (+1 -0)
===================================================================
--- blog/index.md    2012-07-04 13:19:12 +0900 (2007ebc)
+++ blog/index.md    2012-07-04 14:58:02 +0900 (84dc4b6)
@@ -2,6 +2,7 @@
 title: Groonga CloudSearch blog
 layout: default
 is_index: true
+is_blog: true
 ---
 # Groonga CloudSearch blog
 
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下载 



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