[Groonga-commit] droonga/droonga.org at 2ab867b [gh-pages] Follow Jekyll change on v3

Back to archive index

KITAITI Makoto null+****@clear*****
Mon Nov 16 00:56:36 JST 2015


KITAITI Makoto	2015-11-16 00:56:36 +0900 (Mon, 16 Nov 2015)

  New Revision: 2ab867b618a7d0b037b0817dc376408f76a52059
  https://github.com/droonga/droonga.org/commit/2ab867b618a7d0b037b0817dc376408f76a52059

  Merged 83212a0: Merge pull request #20 from KitaitiMakoto/typos

  Message:
    Follow Jekyll change on v3
    
    From v3, Jekyll seems not to provide page.path_prefix in some type
    of pages.

  Modified files:
    _layouts/base.html

  Modified: _layouts/base.html (+2 -0)
===================================================================
--- _layouts/base.html    2015-11-15 22:16:04 +0900 (900f05c)
+++ _layouts/base.html    2015-11-16 00:56:36 +0900 (620503a)
@@ -2,7 +2,9 @@
 <html lang="{{ page.language }}">
   <head>
     {% capture title %}{% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}{% endcapture %}
+    {% unless page.categories contains "news" %}
     {% capture relative_path %}{{ page.url | remove_first: page.path_prefix | remove: "index.html" }}{% endcapture %}
+    {% endunless %}
 
     {% if page.description %}
       {% assign description = page.description %}
-------------- next part --------------
HTML����������������������������...
다운로드 



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