[Groonga-commit] droonga/droonga.org at e2e4d2e [gh-pages] Back to the index page of news, from news entries

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Sep 26 13:34:08 JST 2014


YUKI Hiroshi	2014-09-26 13:34:08 +0900 (Fri, 26 Sep 2014)

  New Revision: e2e4d2e3f278bf95bc00520e4014475aceeae134
  https://github.com/droonga/droonga.org/commit/e2e4d2e3f278bf95bc00520e4014475aceeae134

  Message:
    Back to the index page of news, from news entries

  Modified files:
    _includes/navbar-content.en.html
    _includes/navbar-content.ja.html
    _layouts/news-item.html
    _layouts/news-item.ja.html

  Modified: _includes/navbar-content.en.html (+3 -1)
===================================================================
--- _includes/navbar-content.en.html    2014-09-26 13:23:03 +0900 (a4c7cb9)
+++ _includes/navbar-content.en.html    2014-09-26 13:34:08 +0900 (7c05736)
@@ -36,7 +36,9 @@
     </li>
   </ul>
   <ul class="nav navbar-nav navbar-right">
-    {% if relative_path != "" %}
+    {% if page.upper_level != null %}
+      <li><a href="{{ page.upper_level }}"><i class="fa fa-arrow-circle-up"></i> Up one level</a></li>
+    {% elsif relative_path != "" %}
       <li><a href="../"><i class="fa fa-arrow-circle-up"></i> Up one level</a></li>
     {% endif %}
     <li>

  Modified: _includes/navbar-content.ja.html (+3 -1)
===================================================================
--- _includes/navbar-content.ja.html    2014-09-26 13:23:03 +0900 (27738d8)
+++ _includes/navbar-content.ja.html    2014-09-26 13:34:08 +0900 (d6d75fa)
@@ -36,7 +36,9 @@
     </li>
   </ul>
   <ul class="nav navbar-nav navbar-right">
-    {% if relative_path != "" %}
+    {% if page.upper_level != null %}
+      <li><a href="{{ page.upper_level }}"><i class="fa fa-arrow-circle-up"></i> 1つ上の階層へ戻る</a></li>
+    {% elsif relative_path != "" %}
       <li><a href="../"><i class="fa fa-arrow-circle-up"></i> 1つ上の階層へ戻る</a></li>
     {% endif %}
     <li>

  Modified: _layouts/news-item.html (+1 -0)
===================================================================
--- _layouts/news-item.html    2014-09-26 13:23:03 +0900 (957dad0)
+++ _layouts/news-item.html    2014-09-26 13:34:08 +0900 (46de8d5)
@@ -1,6 +1,7 @@
 ---
 layout: news
 show_title: false
+upper_level: /news/
 ---
 
 <article>

  Modified: _layouts/news-item.ja.html (+1 -0)
===================================================================
--- _layouts/news-item.ja.html    2014-09-26 13:23:03 +0900 (ea97b1e)
+++ _layouts/news-item.ja.html    2014-09-26 13:34:08 +0900 (e0db119)
@@ -1,6 +1,7 @@
 ---
 layout: news.ja
 show_title: false
+upper_level: /ja/news/
 ---
 
 <article>
-------------- next part --------------
HTML����������������������������...
다운로드 



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