[Groonga-commit] pgroonga/pgroonga.github.io at 769c657 [master] Use "none" as the special title

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 14 13:14:32 JST 2016


Kouhei Sutou	2016-12-14 13:14:32 +0900 (Wed, 14 Dec 2016)

  New Revision: 769c657ebab05d3d28c2ccb30a1aaa0e1b652aeb
  https://github.com/pgroonga/pgroonga.github.io/commit/769c657ebab05d3d28c2ccb30a1aaa0e1b652aeb

  Message:
    Use "none" as the special title

  Modified files:
    _layouts/base.html
    _po/ja/index.po
    index.md
    ja/index.md

  Modified: _layouts/base.html (+1 -3)
===================================================================
--- _layouts/base.html    2016-12-14 13:10:17 +0900 (d0a257d)
+++ _layouts/base.html    2016-12-14 13:14:32 +0900 (a86d680)
@@ -7,7 +7,7 @@
       {% capture description %}{% include site-description.html %}{% endcapture %}
     {% endif %}
 
-    {% capture title %}{% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }} - {{ description }}{% endif %}{% endcapture %}
+    {% capture title %}{% if page.title == "none" %}{{ site.title }} - {{ description }}{% else %}{{ page.title }} | {{ site.title }}{% endif %}{% endcapture %}
     {% capture relative_path %}{{ page.url | remove_first: page.path_prefix | remove: "index.html" }}{% endcapture %}
 
     <meta charset="utf-8">
@@ -43,7 +43,5 @@
 
     <script src="//code.jquery.com/jquery.js"></script>
     <script src="/assets/javascripts/bootstrap.min.js"></script>
-
-title: [{{ page.title }}]
   </body>
 </html>

  Modified: _po/ja/index.po (+1 -2)
===================================================================
--- _po/ja/index.po    2016-12-14 13:10:17 +0900 (257a634)
+++ _po/ja/index.po    2016-12-14 13:14:32 +0900 (fd18cde)
@@ -10,10 +10,9 @@ msgstr ""
 
 msgid ""
 "---\n"
+"title: none\n"
 "---"
 msgstr ""
-"---\n"
-"---"
 
 msgid ""
 "<div class=\"jumbotron\">\n"

  Modified: index.md (+1 -1)
===================================================================
--- index.md    2016-12-14 13:10:17 +0900 (171e446)
+++ index.md    2016-12-14 13:14:32 +0900 (7bd9ae6)
@@ -1,5 +1,5 @@
 ---
-title:
+title: none
 ---
 
 <div class="jumbotron">

  Modified: ja/index.md (+1 -0)
===================================================================
--- ja/index.md    2016-12-14 13:10:17 +0900 (87b72a5)
+++ ja/index.md    2016-12-14 13:14:32 +0900 (131c229)
@@ -1,4 +1,5 @@
 ---
+title: none
 ---
 
 <div class="jumbotron">
-------------- next part --------------
HTML����������������������������...
Download 



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