[Groonga-commit] groonga/gcs.groonga.org [gh-pages] Setup blog

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 29日 (金) 13:56:41 JST


Yoji SHIDARA	2012-06-29 13:56:41 +0900 (Fri, 29 Jun 2012)

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

  Log:
    Setup blog

  Added files:
    _includes/post.html
    _layouts/post.html
    _posts/2012-06-29-test.md
    blog/index.md
  Modified files:
    _config.yml

  Modified: _config.yml (+1 -0)
===================================================================
--- _config.yml    2012-06-29 13:14:34 +0900 (3a876cd)
+++ _config.yml    2012-06-29 13:56:41 +0900 (b986323)
@@ -1 +1,2 @@
 title: Groonga CloudSearch
+permalink: /blog/:year/:month/:day/:title

  Added: _includes/post.html (+12 -0) 100644
===================================================================
--- /dev/null
+++ _includes/post.html    2012-06-29 13:56:41 +0900 (750693c)
@@ -0,0 +1,12 @@
+{% unless page.is_index %}
+  {% assign post = page %}
+{% endunless %}
+<div class="header">
+  {% if page.is_index %}
+    <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
+  {% else %}
+    <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
+  {% endif %}
+  <p>{{ post.date | date: '%Y-%m-%d' }}</p>
+</div>
+{{ post.content }}

  Added: _layouts/post.html (+4 -0) 100644
===================================================================
--- /dev/null
+++ _layouts/post.html    2012-06-29 13:56:41 +0900 (aef74e5)
@@ -0,0 +1,4 @@
+---
+layout: default
+---
+{% include post.html %}

  Added: _posts/2012-06-29-test.md (+6 -0) 100644
===================================================================
--- /dev/null
+++ _posts/2012-06-29-test.md    2012-06-29 13:56:41 +0900 (e2c415c)
@@ -0,0 +1,6 @@
+---
+title: Test post for GCS blog
+layout: post
+---
+
+This is a test entry for GCS blog.

  Added: blog/index.md (+10 -0) 100644
===================================================================
--- /dev/null
+++ blog/index.md    2012-06-29 13:56:41 +0900 (2007ebc)
@@ -0,0 +1,10 @@
+---
+title: Groonga CloudSearch blog
+layout: default
+is_index: true
+---
+# Groonga CloudSearch blog
+
+{% for post in site.posts %}
+  {% include post.html %}
+{% endfor %}
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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