[Groonga-commit] groonga/gcs.groonga.org [gh-pages] Use template

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 20日 (水) 18:20:16 JST


SHIMODA Hiroshi	2012-06-20 18:20:16 +0900 (Wed, 20 Jun 2012)

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

  Log:
    Use template

  Added files:
    _config.yml
    _layouts/default.html
    stylesheets/screen.css
  Renamed files:
    index.md
      (from index.html)

  Added: _config.yml (+1 -0) 100644
===================================================================
--- /dev/null
+++ _config.yml    2012-06-20 18:20:16 +0900 (3a876cd)
@@ -0,0 +1 @@
+title: Groonga CloudSearch

  Added: _layouts/default.html (+11 -0) 100644
===================================================================
--- /dev/null
+++ _layouts/default.html    2012-06-20 18:20:16 +0900 (8f9de4f)
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
+    <link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
+  </head>
+  <body>
+    <h1><a href="/">Groonga CloudSearch</a></h1>
+    {{ content }}
+  </body>
+</html>

  Renamed: index.md (+5 -10) 94%
===================================================================
--- index.html    2012-06-20 17:10:49 +0900 (2c6be9e)
+++ index.md    2012-06-20 18:20:16 +0900 (30771f5)
@@ -1,12 +1,9 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <title>Groonga CloudSearch</title>
-  </head>
-  <body>
-    <h1>Groonga CloudSearch</h1>
+---
+layout: default
+---
+
+## Functional comparison
 
-    <h2>Functional comparison</h2>
     <table border="1">
       <tr>
         <th>Category</th>
@@ -127,5 +124,3 @@
         <td>&#x2713;</td><td></td>
       </tr>
     </table>
-  </body>
-</html>

  Added: stylesheets/screen.css (+0 -0) 100644
===================================================================
--- /dev/null
+++ stylesheets/screen.css    2012-06-20 18:20:16 +0900 (e69de29)
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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