diff --git a/en/source/_templates b/en/source/_templates new file mode 120000 index 0000000..677ae45 --- /dev/null +++ b/en/source/_templates @@ -0,0 +1 @@ +../../ja/source/_templates \ No newline at end of file diff --git a/en/source/_templates/breadcrumbs.html b/en/source/_templates/breadcrumbs.html deleted file mode 100644 index ec75ce5..0000000 --- a/en/source/_templates/breadcrumbs.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "!breadcrumbs.html" %} -{% block breadcrumbs %} -
-
"freee Accessibility Guidelines" by freee K.K. is licensed under Creative Commons Attribution 4.0 International.
-
This site uses Google Analytics for access analysis. Please refer to HOW GOOGLE USES INFORMATION FROM SITES OR APPS THAT USE OUR SERVICES for hwo Google uses the data. Please also refer to the privacy policy of freee K.K. for how Cookies are used.
-{% endif %} -{% endblock %} diff --git a/en/source/_templates/layout.html b/en/source/_templates/layout.html deleted file mode 100644 index 4e8b446..0000000 --- a/en/source/_templates/layout.html +++ /dev/null @@ -1,49 +0,0 @@ -{% extends "!layout.html" %} -{% block sidebartitle %} -The normative (Japanese) version of this page is here.
- {{ super() }} -{% endblock %} diff --git a/ja/source/_templates/footer.html b/ja/source/_templates/footer.html index a0a2dae..75e9382 100644 --- a/ja/source/_templates/footer.html +++ b/ja/source/_templates/footer.html @@ -1,9 +1,17 @@ {% extends "!footer.html" %} {% block extrafooter %}
-
フリー株式会社 作『freeeアクセシビリティー・ガイドライン』はクリエイティブ・コモンズ 表示 4.0 国際 ライセンスで提供されています。
+ {% if language == 'ja' -%}
+
フリー株式会社 作『freeeアクセシビリティー・ガイドライン』はクリエイティブ・コモンズ 表示 4.0 国際 ライセンスで提供されています。
+ {%- else -%}
+
"freee Accessibility Guidelines" by freee K.K. is licensed under Creative Commons Attribution 4.0 International.
+ {%- endif %}
このサイトでは、アクセス状況の解析のためにGoogle Analyticsを用いています。Googleによるデータの使用については、GOOGLE のサービスを使用するサイトやアプリから収集した情報の GOOGLE による使用をご覧ください。また、これに伴い使用されるCookieの扱いなどについては、フリー株式会社のプライバシー・ポリシーをご覧ください。
+ {% if language == 'ja' -%} +このサイトでは、アクセス状況の解析のためにGoogle Analyticsを用いています。Googleによるデータの使用については、GOOGLE のサービスを使用するサイトやアプリから収集した情報の GOOGLE による使用をご覧ください。また、これに伴い使用されるCookieの扱いなどについては、フリー株式会社のプライバシー・ポリシーをご覧ください。
+ {%- else -%} +This site uses Google Analytics for access analysis. Please refer to HOW GOOGLE USES INFORMATION FROM SITES OR APPS THAT USE OUR SERVICES for hwo Google uses the data. Please also refer to the privacy policy of freee K.K. for how Cookies are used.
+ {%- endif %} {% endif %} {% endblock %} diff --git a/ja/source/_templates/layout.html b/ja/source/_templates/layout.html index f7da85e..3f8b8b4 100644 --- a/ja/source/_templates/layout.html +++ b/ja/source/_templates/layout.html @@ -39,15 +39,23 @@ {% endif %} {% endblock %} {% block content %} - {% if meta is defined %} - {% if meta.translated %} -An English translation of this page is available.
+ {% if language == 'ja' %} + {% if meta is defined %} + {% if meta.translated %} + + {% endif %} {% endif %} + {% else %} + {% endif %} {{ super() }} {% endblock %}