[Groonga-commit] droonga/droonga.org at 19edefb [gh-pages] Fix a bug that custom show_title isn't applied

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Mon Dec 30 17:59:06 JST 2013


Kouhei Sutou	2013-12-30 17:59:06 +0900 (Mon, 30 Dec 2013)

  New Revision: 19edefba50d1be803d521e6efc093a133435a51a
  https://github.com/droonga/droonga.org/commit/19edefba50d1be803d521e6efc093a133435a51a

  Message:
    Fix a bug that custom show_title isn't applied

  Modified files:
    _layouts/base.html

  Modified: _layouts/base.html (+1 -4)
===================================================================
--- _layouts/base.html    2013-12-30 17:58:21 +0900 (733615f)
+++ _layouts/base.html    2013-12-30 17:59:06 +0900 (254dce7)
@@ -1,6 +1,3 @@
----
-show_title: true
----
 <!DOCTYPE html>
 <html>
   <head>
@@ -45,7 +42,7 @@ show_title: true
     </nav>
 
     <div class="container">
-      {% if page.title and page.show_title == "true" %}
+      {% if page.title and page.show_title != false %}
       <h1>{{ page.title }}</h1>
       {% endif %}
       {{ content }}
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index