YUKI Hiroshi
null+****@clear*****
Fri Sep 26 12:23:43 JST 2014
YUKI Hiroshi 2014-09-26 12:23:43 +0900 (Fri, 26 Sep 2014) New Revision: efde2ea2f14656407573df04def602f9f4c0adb8 https://github.com/droonga/droonga.org/commit/efde2ea2f14656407573df04def602f9f4c0adb8 Message: List news topics only for the current language Modified files: _po/ja/index.po index.md ja/index.md ja/news/index.md news/index.md Modified: _po/ja/index.po (+13 -1) =================================================================== --- _po/ja/index.po 2014-09-26 12:18:42 +0900 (c04da5c) +++ _po/ja/index.po 2014-09-26 12:23:43 +0900 (036a047) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2014-05-23 11:04+0900\n" +"PO-Revision-Date: 2014-03-05 12:52+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -84,10 +84,22 @@ msgstr "## 最新情報" msgid "" "<ul class=\"posts\">\n" " {% for post in site.posts %}\n" +" {% if post.language == \"en\" %}\n" " <li>\n" " <a href=\"{{ post.url }}\">{{ post.title }}</a>\n" " <span class=\"date\">({{ post.date | date: \"%Y-%m-%d\" }})</span>\n" " </li>\n" +" {% endif %}\n" " {% endfor %}\n" "</ul>" msgstr "" +"<ul class=\"posts\">\n" +" {% for post in site.posts %}\n" +" {% if post.language == \"ja\" %}\n" +" <li>\n" +" <a href=\"{{ post.url }}\">{{ post.title }}</a>\n" +" <span class=\"date\">({{ post.date | date: \"%Y-%m-%d\" }})</span>\n" +" </li>\n" +" {% endif %}\n" +" {% endfor %}\n" +"</ul>" Modified: index.md (+2 -0) =================================================================== --- index.md 2014-09-26 12:18:42 +0900 (288c0f4) +++ index.md 2014-09-26 12:23:43 +0900 (460de7a) @@ -34,9 +34,11 @@ The following documentations will help you to use Droonga more effectively: <ul class="posts"> {% for post in site.posts %} + {% if post.language == "en" %} <li> <a href="{{ post.url }}">{{ post.title }}</a> <span class="date">({{ post.date | date: "%Y-%m-%d" }})</span> </li> + {% endif %} {% endfor %} </ul> Modified: ja/index.md (+2 -0) =================================================================== --- ja/index.md 2014-09-26 12:18:42 +0900 (c5d5335) +++ ja/index.md 2014-09-26 12:23:43 +0900 (3b054b4) @@ -39,9 +39,11 @@ Droongaをより効果的に使うために、以下のドキュメントが役 <ul class="posts"> {% for post in site.posts %} + {% if post.language == "ja" %} <li> <a href="{{ post.url }}">{{ post.title }}</a> <span class="date">({{ post.date | date: "%Y-%m-%d" }})</span> </li> + {% endif %} {% endfor %} </ul> Modified: ja/news/index.md (+3 -1) =================================================================== --- ja/news/index.md 2014-09-26 12:18:42 +0900 (0051cb7) +++ ja/news/index.md 2014-09-26 12:23:43 +0900 (5842d86) @@ -7,5 +7,7 @@ use_social_widgets: true 日本語版はまだありません。[英語版](/news/)を参照して下さい。 {% for post in site.posts %} - {% include news-item.html %} + {% if post.language == "ja" %} + {% include news-item.html %} + {% endif %} {% endfor %} Modified: news/index.md (+3 -1) =================================================================== --- news/index.md 2014-09-26 12:18:42 +0900 (61f78f7) +++ news/index.md 2014-09-26 12:23:43 +0900 (d2452c7) @@ -5,5 +5,7 @@ use_social_widgets: true --- {% for post in site.posts %} - {% include news-item.html %} + {% if post.language == "en" %} + {% include news-item.html %} + {% endif %} {% endfor %} -------------- next part -------------- HTML����������������������������...다운로드