linaro-jekyll-theme 4.3.1 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28007e6ad27b5f5eec2b41a42fcb8fe7f8479d4fc0ad8540e07587ab202f97bf
4
- data.tar.gz: 07aa2a14689d88c57b0a2b53afc29f657bbbec5069bc3cc8d86eb2b90f2cd1b1
3
+ metadata.gz: 2c1bdd8de5ea876f98e9a2f4e44c45bfc80876a7f5ee1323d492efdf06ecc0bf
4
+ data.tar.gz: 1164f51ed8abb2df3523181e46dab78a1f6f902978d13dddc92053e7fb1f5e06
5
5
  SHA512:
6
- metadata.gz: 2f28f3b7229b41cebd1162219fd78efb0d23eee4333df61bd901d08b8077d87cf87d4da21bd650fff04dea8653540414ced372cdb4c97c485c365574b3a683db
7
- data.tar.gz: a24847274d7bdfa9657deeb08ac366a4710680fb4814f4e3b669e1c131dce9581b2c1de99ccb16a96c759945020af9b6f8f6e0b9716caba8c5a37a3e1d83fe3a
6
+ metadata.gz: e21f998d31280cd195aa71cce2f969b3bd46afe69ada174a7dc162fb536ca612869050dbc4fe554670e94a5ed7943a6d7f62646a3bb2bfe555a10ddae88cd7d2
7
+ data.tar.gz: f02a9000883c1576320cb6c6e7c61b93675819d836ca3f094910726c1f3b71c3af8dbb3bf78b3b382c758b4195c678a28ec109267cee5aa85229d7ab7f2eb8cc
data/_config.yml CHANGED
@@ -23,12 +23,14 @@ exclude:
23
23
  - _static-site
24
24
  - .sass-cache
25
25
  - _site
26
+ - scripts
26
27
  - linaro-jekyll-theme*.gem
27
28
  - linaro-jekyll-theme*.gemspec
28
29
  sass:
29
30
  style: compressed
30
31
  load_paths:
31
32
  - assets/css
33
+ sourcemap: "never"
32
34
  plugins:
33
35
  - japr
34
36
  - jekyll_picture_tag
@@ -45,11 +47,23 @@ defaults:
45
47
  path: ""
46
48
  values:
47
49
  layout: flow
50
+ lang: en
48
51
  - scope:
49
52
  type: posts
50
53
  path: "_posts"
51
54
  values:
52
55
  layout: post
56
+ lang: en
57
+ is_post: true
58
+ comments: true
59
+ tags_enabled: true
60
+ strap_image: /assets/images/breadcrumb-image.jpg
61
+ - scope:
62
+ type: posts
63
+ path: "_posts/ja"
64
+ values:
65
+ layout: post
66
+ lang: ja
53
67
  is_post: true
54
68
  comments: true
55
69
  tags_enabled: true
@@ -60,6 +74,9 @@ defaults:
60
74
  values:
61
75
  layout: author
62
76
  include: ["_pages"]
77
+ livereload_ignore:
78
+ - .asset_pipeline/assets/js/*.js
79
+ - .asset_pipeline/assets/js/*.js.gz
63
80
  # ----------- THEME / WEBSITE CONFIG ---------------------
64
81
  # Blog images/thumbs dir
65
82
  blog_images_dir: assets/images/content/
@@ -190,7 +207,7 @@ readme_index:
190
207
  picture:
191
208
  nomarkdown: false
192
209
  source: ""
193
- output: "assets/images"
210
+ output: "../generated"
194
211
  relative_url: true
195
212
  # -------- japr --------
196
213
  asset_pipeline:
@@ -208,3 +225,10 @@ toc:
208
225
  sublist_class: "list-group"
209
226
  item_class: toc-entry
210
227
  item_prefix: toc-
228
+ # Jekyll-polyglot
229
+ i18n_enabled: true
230
+ languages: ["en", "ja"]
231
+ default_lang: "en"
232
+ exclude_from_localization:
233
+ ["javascript", "images", "css", "public", "assets", "generated"]
234
+ parallel_localization: false
@@ -0,0 +1,13 @@
1
+ # Copyright text to be displayed at the very bottom of the footer
2
+ copyright_text: Linaro Limited
3
+ # Set this to false if you do not want the Linaro logo in the footer.
4
+ footer_brand:
5
+ url: https://www.linaro.org
6
+ alt: Linaro Logo
7
+ path: /assets/images/Linaro-logo-white.png
8
+ # These links are displayed at the very bottom of the footer.
9
+ company_links:
10
+ - name: 法的
11
+ url: /legal/
12
+ - name: コンタクト
13
+ url: /contact/
data/_data/ja/nav.yml ADDED
@@ -0,0 +1,39 @@
1
+ universal_nav: true
2
+ search:
3
+ enabled: true
4
+ label: Linaro
5
+ expand_breakpoint: lg
6
+ brand:
7
+ # custom_include: nav/brand.html
8
+ path: /assets/images/Linaro-Logo.svg
9
+ alt: Linaro logo
10
+ pages:
11
+ - title: 特徴
12
+ options:
13
+ - text: ページヘッダー
14
+ options:
15
+ - text: ビデオヘッダー
16
+ url: /ja/features/video-header/
17
+ - text: スライダーヘッダー
18
+ url: /ja/features/slider-header/
19
+ - text: 背景画像ヘッダー
20
+ url: /ja/features/background-image-header/
21
+ - text: ヘッダ
22
+ url: /ja/features/header/
23
+ - text: パンくず
24
+ url: /ja/features/breadcrumb/
25
+ - text: ヘッダーなし
26
+ url: /ja/features/no-header/
27
+ - text: レイアウト
28
+ options:
29
+ - text: フロー
30
+ url: /ja/flow/
31
+ - text: 役職
32
+ url: /ja/post/
33
+ - url: /ja/documentation-page/
34
+ text: ドキュメントページ
35
+ - title: GitHubで表示
36
+ url: https://www.github.com/linaro-marketing/linaro-jekyll-theme
37
+ external: true
38
+ - url: /ja/blog/
39
+ title: ブログ
@@ -0,0 +1,24 @@
1
+ pages:
2
+ # - list:
3
+ # - title: Blog
4
+ # url: /blog/
5
+ # sub-pages: true
6
+ # - title: Flow Layout
7
+ # url: /flow/
8
+ # right: true
9
+ # urls: [/, /flow/]
10
+ - list:
11
+ - title: ドキュメントの例
12
+ url: /documentation-page/
13
+ sub-pages: true
14
+ - title: 入門
15
+ url: /flow/
16
+ urls: [/documentation-page/]
17
+ - list:
18
+ - title: __current_page__
19
+ url: __current_page__
20
+ sub-pages: true
21
+ - title: 入門
22
+ url: /flow/
23
+ sub-pages-enabled: true
24
+ urls: [/]
@@ -0,0 +1,37 @@
1
+ reportAnIssue: 問題を報告する
2
+ editOnGithub: GitHubで編集
3
+ about: 約
4
+ read: 読む
5
+ new: 新しい
6
+ next: 次
7
+ prev: 前へ
8
+ posts: 投稿
9
+ recentPosts: 最近の投稿
10
+ otherPosts: その他の投稿
11
+ postedBy: 投稿者
12
+ home: 家
13
+ viewAllTags: すべてのタグを表示
14
+ necessaryCookies: 必要なクッキー
15
+ necessaryCookiesText: >
16
+ 必要なCookieは、必須ではないCookieの設定を記憶するために必要であるため、無効にすることはできません。
17
+ necessaryCookiesTextList: "必要なCookieのリスト:"
18
+ cookieName: クッキー名
19
+ usage: 使用法
20
+ postAddedInLastWeek: 先週追加された投稿。
21
+ analyticsCookies: アナリティクスCookie
22
+ analyticsCookiesTextList: "アナリティクスCookieのリスト:"
23
+ cookiesDisabledText: このスイッチを切り替えると、サイトの改善に役立つ匿名の分析データの収集が可能になります。
24
+ cookiesEnabledText: このスイッチを切り替えると、サイトの改善に役立つ匿名の分析データの収集が無効になります。
25
+ estimatedReadTime: 推定読み取り時間
26
+ info:
27
+ title: linaro-jekyll-theme(高度なエンタープライズ対応のJekyllテーマ)
28
+ description: |-
29
+ linaro-jekyll-themeは、Linaro静的Webサイト全体で使用される高度なエンタープライズ対応のJekyllテーマです。
30
+ search:
31
+ search: 検索
32
+ searchPosts: 投稿を検索
33
+ clearSearch: クリア検索
34
+ close: 選ぶ
35
+ moreInfo: より詳しい情報
36
+ copyright: 著作権
37
+ toggleNavigation: ナビゲーションの切り替え
@@ -0,0 +1,35 @@
1
+ items:
2
+ - active: true
3
+ title: Linaro
4
+ url: "https://www.linaro.org/"
5
+ - title: Connect
6
+ url: "https://connect.linaro.org"
7
+ - title: 96Boards
8
+ url: "https://www.96boards.org"
9
+ - title: Twitter
10
+ icon: icon-twitter
11
+ url: "https://twitter.com/LinaroOrg"
12
+ - title: Facebook
13
+ icon: icon-facebook
14
+ url: "http://facebook.com/LinaroOrg"
15
+ - title: LinkedIn
16
+ icon: icon-linkedin
17
+ url: "https://www.linkedin.com/company/1026961"
18
+ - title: YouTube
19
+ icon: icon-youtube
20
+ url: "https://www.youtube.com/LinaroOrg"
21
+ - options:
22
+ - title: 96Boards.ai
23
+ url: "https://www.96boards.ai"
24
+ - title: Developer Cloud
25
+ url: "https://linaro.cloud"
26
+ - title: devicetree.org
27
+ url: "https://www.devicetree.org"
28
+ - title: OpenAMP
29
+ url: "https://www.openampproject.org"
30
+ - title: OP-TEE
31
+ url: "https://www.op-tee.org"
32
+ - title: Trusted Firmware
33
+ url: "https://www.trustedfirmware.org/"
34
+ hamburger_toggle: true
35
+ title: プロジェクト
data/_data/nav.yml CHANGED
@@ -8,6 +8,8 @@ brand:
8
8
  path: /assets/images/Linaro-Logo.svg
9
9
  alt: Linaro logo
10
10
  pages:
11
+ - url: /about/
12
+ title: About
11
13
  - title: Features
12
14
  options:
13
15
  - text: Page Headers
@@ -32,55 +34,55 @@ pages:
32
34
  url: /post/
33
35
  - url: /documentation-page/
34
36
  text: Documentation Page
35
- - options:
36
- - text: Overview
37
- url: /engineering/
38
- external: true
39
- - text: Artificial Intelligence
40
- url: /engineering/artificial-intelligence/
41
- - text: Autonomous Vehicles
42
- url: /engineering/autonomous-vehicles/
43
- - text: Consumer
44
- url: /engineering/consumer/
45
- - text: Core Engineering on Arm
46
- options:
47
- - text: Overview
48
- url: /engineering/core/
49
- - text: Core Technologies & Tools
50
- url: /engineering/core/ctt/
51
- - text: Kernel Validation
52
- url: /engineering/core/kernel-validation-and-testing/
53
- - text: Toolchain
54
- url: /engineering/core/toolchain/
55
- - text: Kernel
56
- url: /engineering/core/kernel/
57
- - text: Power Management
58
- url: /engineering/core/arm-power-management/
59
- - text: Power Management EAS
60
- options:
61
- - text: Flow
62
- url: /flow/
63
- - text: Post
64
- url: /post/
65
- - url: /documentation-page/
66
- text: Documentation Page
67
- - text: Power Management Farm
68
- url: /engineering/core/arm-power-management/pmwg-farm/
69
- - text: Security
70
- url: /engineering/core/security/
71
- - text: Devicetree Evolution
72
- url: /engineering/core/devicetree-evolution/
73
- - text: Datacenter & Cloud
74
- url: /engineering/datacenter-and-cloud/
75
- - text: Edge & Fog Computing
76
- url: /engineering/edge-and-fog-computing/
77
- - text: High Performance Computing
78
- url: /engineering/high-performance-computing/
79
- - text: IoT & Embedded
80
- url: /engineering/iot-and-embedded/
81
- - text: Multimedia
82
- url: /engineering/multimedia/
83
- title: Engineering
37
+ # - options:
38
+ # - text: Overview
39
+ # url: /engineering/
40
+ # external: true
41
+ # - text: Artificial Intelligence
42
+ # url: /engineering/artificial-intelligence/
43
+ # - text: Autonomous Vehicles
44
+ # url: /engineering/autonomous-vehicles/
45
+ # - text: Consumer
46
+ # url: /engineering/consumer/
47
+ # - text: Core Engineering on Arm
48
+ # options:
49
+ # - text: Overview
50
+ # url: /engineering/core/
51
+ # - text: Core Technologies & Tools
52
+ # url: /engineering/core/ctt/
53
+ # - text: Kernel Validation
54
+ # url: /engineering/core/kernel-validation-and-testing/
55
+ # - text: Toolchain
56
+ # url: /engineering/core/toolchain/
57
+ # - text: Kernel
58
+ # url: /engineering/core/kernel/
59
+ # - text: Power Management
60
+ # url: /engineering/core/arm-power-management/
61
+ # - text: Power Management EAS
62
+ # options:
63
+ # - text: Flow
64
+ # url: /flow/
65
+ # - text: Post
66
+ # url: /post/
67
+ # - url: /documentation-page/
68
+ # text: Documentation Page
69
+ # - text: Power Management Farm
70
+ # url: /engineering/core/arm-power-management/pmwg-farm/
71
+ # - text: Security
72
+ # url: /engineering/core/security/
73
+ # - text: Devicetree Evolution
74
+ # url: /engineering/core/devicetree-evolution/
75
+ # - text: Datacenter & Cloud
76
+ # url: /engineering/datacenter-and-cloud/
77
+ # - text: Edge & Fog Computing
78
+ # url: /engineering/edge-and-fog-computing/
79
+ # - text: High Performance Computing
80
+ # url: /engineering/high-performance-computing/
81
+ # - text: IoT & Embedded
82
+ # url: /engineering/iot-and-embedded/
83
+ # - text: Multimedia
84
+ # url: /engineering/multimedia/
85
+ # title: Engineering
84
86
  - title: View on GitHub
85
87
  url: https://www.github.com/linaro-marketing/linaro-jekyll-theme
86
88
  external: true
@@ -0,0 +1,38 @@
1
+ reportAnIssue: Report an Issue
2
+ editOnGithub: Edit on GitHub
3
+ about: About
4
+ read: Read
5
+ new: New
6
+ next: Next
7
+ prev: Prev
8
+ posts: Posts
9
+ recentPosts: Recent Posts
10
+ otherPosts: Other Posts
11
+ postedBy: Posted by
12
+ home: Home
13
+ viewAllTags: View all tags
14
+ necessaryCookies: Necessary Cookies
15
+ necessaryCookiesText: >
16
+ We cannot disable neccessary cookies as these are required to remember your preferences
17
+ for non-essential cookies.
18
+ necessaryCookiesTextList: "List of Necessary Cookies:"
19
+ cookieName: Cookie Name
20
+ usage: Usage
21
+ postAddedInLastWeek: Post added in the last week.
22
+ analyticsCookies: Analytics Cookies
23
+ analyticsCookiesTextList: "List of Analytics Cookies:"
24
+ cookiesDisabledText: Toggle this switch to enable the collection of anonymous analytics data that helps us improve our site.
25
+ cookiesEnabledText: Toggle this switch to disable the collection of anonymous analytics data that helps us improve our site.
26
+ estimatedReadTime: Estimated read time
27
+ info:
28
+ title: linaro-jekyll-theme (the advanced enterprise ready Jekyll theme)
29
+ description: |-
30
+ The linaro-jekyll-theme is an advanced enterprise ready Jekyll theme used across the Linaro static websites.
31
+ search:
32
+ search: Search
33
+ searchPosts: Search posts
34
+ clearSearch: Clear Search
35
+ close: Close
36
+ moreInfo: More info
37
+ copyright: Copyright
38
+ toggleNavigation: Toggle Navigation
@@ -26,7 +26,7 @@
26
26
  {% endif %}
27
27
  </p>
28
28
  {% if post_in_seconds > recent_posts %}
29
- <span class="new-post" title="Post added in the last week.">New</span>
29
+ <span class="new-post" title="{{site.data.translations.postAddedInLastWeek}}">{{site.data.translations.new}}</span>
30
30
  {% endif %}
31
31
  </a>
32
32
  </div>
@@ -69,7 +69,7 @@
69
69
  {% endif %}
70
70
  </p>
71
71
  <p class="card-text">
72
- <a href="{{post.url}}" class="btn btn-primary">Read</a>
72
+ <a href="{{post.url}}" class="btn btn-primary">{{site.data.translations.read}}</a>
73
73
  </p>
74
74
  </div>
75
75
  </div>
@@ -4,9 +4,9 @@
4
4
  <nav aria-label="Page navigation example">
5
5
  <ul class="pagination justify-content-center my-4 my-sm-4">
6
6
  {% if paginator.previous_page %}
7
- <li class="page-item"><a class="page-link" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a></li>
7
+ <li class="page-item"><a class="page-link" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; {{site.data.translations.prev}}</a></li>
8
8
  {% else %}
9
- <li class="page-item disabled"><a class="page-link" href="#">&laquo; Prev</a></li>
9
+ <li class="page-item disabled"><a class="page-link" href="#">&laquo; {{site.data.translations.prev}}</a></li>
10
10
  {% endif %}
11
11
  {% if paginator.page_trail %}
12
12
  {% for trail in paginator.page_trail %}
@@ -28,9 +28,9 @@
28
28
  {% endfor %}
29
29
  {% endif %}
30
30
  {% if paginator.next_page %}
31
- <li class="page-item"><a class="page-link" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next </a></li>
31
+ <li class="page-item"><a class="page-link" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{site.data.translations.next}} </a></li>
32
32
  {% else %}
33
- <li class="page-item disabled"><a class="page-link" href="#">Next &raquo;</a></li>
33
+ <li class="page-item disabled"><a class="page-link" href="#">{{site.data.translations.next}} &raquo;</a></li>
34
34
  {% endif %}
35
35
  </ul>
36
36
  </nav>
@@ -2,9 +2,9 @@
2
2
  <div class="col col-12 ">
3
3
  <div id="post_search" data-file-path="{{url.data}}">
4
4
  <input class="form-control form-control-lg" id="search-input" type="text"
5
- placeholder="Search {{site.categories[url.category].size}} posts..." />
5
+ placeholder="{{site.data.translations.search.search}} {{site.categories[url.category].size}} {{site.data.translations.posts | downcase }}..." />
6
6
  <a class="close_search" href="#">
7
- X <span class="sr-only">Clear Search</span>
7
+ X <span class="sr-only">{{site.data.translations.search.clearSearch}}</span>
8
8
  </a>
9
9
  <ul class="list-unstyled p-3" id="results-container"></ul>
10
10
  </div>
@@ -2,9 +2,9 @@
2
2
  <div class="col col-12 ">
3
3
  <div id="post_search" data-search-label="{{data.search_label}}">
4
4
  <input class="form-control form-control-lg" id="search-input" type="text"
5
- placeholder="Search {{site.categories[data.category].size}} posts..." />
5
+ placeholder="{{site.data.translations.search.search}} {{site.categories[data.category].size}} {{site.data.translations.posts | downcase }}..." />
6
6
  <a class="close_search" href="#">
7
- X <span class="sr-only">Clear Search</span>
7
+ X <span class="sr-only">{{site.data.translations.search.clearSearch}}</span>
8
8
  </a>
9
9
  <ul class="list-unstyled p-3" id="results-container"></ul>
10
10
  </div>
@@ -2,7 +2,7 @@
2
2
  Recent Posts Displayed here.
3
3
  {% endcomment %}
4
4
  <div class="col col-12 my-5 suggested_posts">
5
- <h3>Recent Posts</h3>
5
+ <h3>{{site.data.translations.recentPosts}}</h3>
6
6
  <ul class="list-unstyled">
7
7
  {% for post in site.posts limit: 3 %}
8
8
  {% assign timeframe = 604800 %}
@@ -30,7 +30,7 @@
30
30
  {% endif %}
31
31
  </p>
32
32
  {% if post_in_seconds > recent_posts %}
33
- <span class="new-post" title="Post added in the last week.">New</span>
33
+ <span class="new-post" title="Post added in the last week.">{{site.data.translations.new}}</span>
34
34
  {% endif %}
35
35
  </a>
36
36
  </div>
@@ -42,7 +42,7 @@
42
42
  Other Posts
43
43
  {% endcomment %}
44
44
  <div class="col col-12 my-5 suggested_posts">
45
- <h3>Other Posts</h3>
45
+ <h3>{{site.data.translations.otherPosts}}</h3>
46
46
  <ul class="list-unstyled">
47
47
  {% assign posts = site.posts | sample:5 %}
48
48
  {% for post in posts %}
@@ -4,4 +4,4 @@
4
4
  {% else %}
5
5
  {% assign words = content | number_of_words %}
6
6
  {% endif %}
7
- <span class="align-self-start my-1 reading-time bg-light text-dark badge" title="Estimated read time">{% if words < 360 %}1 min read{% else %}{{ words | divided_by:180 }} mins read{% endif %} <i class="fa fa-clock-o" aria-hidden="true"></i></span>
7
+ <span class="align-self-start my-1 reading-time bg-light text-dark badge" title="{{site.data.translations.estimatedReadTime}}">{% if words < 360 %}1 min read{% else %}{{ words | divided_by:180 }} mins read{% endif %} <i class="fa fa-clock-o" aria-hidden="true"></i></span>
@@ -19,7 +19,7 @@
19
19
  {% endfor %}
20
20
  {% endfor %}
21
21
  </div>
22
- <a type="button" class="btn btn-secondary d-none" id="view_all_tags_btn">View all tags</a>
22
+ <a type="button" class="btn btn-secondary d-none" id="view_all_tags_btn">{{site.data.translations.viewAllTags}}</a>
23
23
  </div>
24
24
  <div class="col col-12 tagged_posts" id="tagged_posts">
25
25
  {% for tag in site.tags %}
@@ -49,7 +49,7 @@
49
49
  <a href="{{ post.url }}">
50
50
  <h5 class="mt-0 mb-1">{{post.title}}</h5>
51
51
  <div class="post_meta" >
52
- Posted by <strong itemprop="name" rel="author">{{author_name}}</strong> on
52
+ {{site.data.translations.postedBy}} <strong itemprop="name" rel="author">{{author_name}}</strong> on
53
53
  <time datetime="{{post.date}}" >{{post.date | date: "%A, %B %-d, %Y"}}</time>
54
54
  </div>
55
55
  {% if post.description %}
@@ -11,7 +11,7 @@
11
11
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"
12
12
  class="breadcrumb-item">
13
13
  <a itemprop="item" href="/">
14
- <span itemprop="name">Home</span>
14
+ <span itemprop="name">{{site.data.translations.home}}</span>
15
15
  <meta itemprop="position" content="1" />
16
16
  </a>
17
17
  </li>
@@ -1,18 +1,17 @@
1
1
  <div class="col col-12 cookie_manager">
2
2
  <div class="row justify-content-lg-center">
3
3
  <div class="col col-12 col-sm-9">
4
- <h3>Necessary Cookies</h3>
4
+ <h3>{{site.data.translations.necessaryCookies}}</h3>
5
5
  <p class="lead">
6
- We cannot disable neccessary cookies as these are required to remember your preferences
7
- for non-essential cookies.
6
+ {{site.data.translations.necessaryCookiesText}}
8
7
  </p>
9
8
  <p>
10
- List of Necessary Cookies:
9
+ {{site.data.translations.necessaryCookiesTextList}}
11
10
  </p>
12
11
  <table class="table">
13
12
  <thead>
14
- <th>Cookie Name</th>
15
- <th>Usage</th>
13
+ <th>{{site.data.translations.cookieName}}</th>
14
+ <th>{{site.data.translations.usage}}</th>
16
15
  </thead>
17
16
  <tbody>
18
17
  {% for cookie in site.google_analytics.cookies.necessary %}
@@ -36,18 +35,18 @@
36
35
  </div>
37
36
  <div class="row justify-content-lg-center">
38
37
  <div class="col col-12 col-sm-9" order-sm-1">
39
- <h3>Analytics Cookies</h3>
38
+ <h3>{{site.data.translations.analyticsCookies}}</h3>
40
39
  <p class="lead" id="analytics_cookies_desc">
41
- <span class="disabled">Toggle this switch to enabled the collection of anonymous analytics data that helps us improve our site.</span>
42
- <span class="enabled">Toggle this switch to disable the collection of anonymous analytics data that helps us improve our site.</span>
40
+ <span class="disabled">{{site.data.translations.cookiesDisabledText}}</span>
41
+ <span class="enabled">{{site.data.translations.cookiesEnabledText}}</span>
43
42
  </p>
44
43
  <p>
45
- List of Analytics Cookies:
44
+ {{site.data.translations.analyticsCookiesTextList}}
46
45
  </p>
47
46
  <table class="table">
48
47
  <thead>
49
- <th>Cookie Name</th>
50
- <th>Usage</th>
48
+ <th>{{site.data.translations.cookieName}}</th>
49
+ <th>{{site.data.translations.usage}}</th>
51
50
  </thead>
52
51
  <tbody>
53
52
  {% for cookie in site.google_analytics.cookies.marketing %}
@@ -11,8 +11,8 @@
11
11
  {% capture edit-me-link %}{{github-docs}}{{page-path}}{% endcapture %}
12
12
  <div class="btn-group my-2 mt-1" role="group" aria-label="Basic example" id="github_controls">
13
13
  <a aria-label="GitHub Home" title="GitHub Home" class="btn btn-secondary" href="{{github-home}}" id="github_home"><span class="sr-only">Go to GitHub Repo home</span><i class="icon-github-circled center-block"></i></a>
14
- <a aria-label="Report an issue on GitHub for this page" title="Report an issue on GitHub for this page" class="btn btn-secondary" href="{{report-issue-link}}" id="submit_issue">Report an Issue</a>
15
- <a aria-label="Edit this page on GitHub" title="Edit this page on GitHub" href="{{edit-me-link | replace: " ", "" }}" class="btn btn-secondary" id="edit_on_github">Edit on GitHub</a>
14
+ <a aria-label="Report an issue on GitHub for this page" title="Report an issue on GitHub for this page" class="btn btn-secondary" href="{{report-issue-link}}" id="submit_issue">{{site.data.translations.reportAnIssue}}</a>
15
+ <a aria-label="Edit this page on GitHub" title="Edit this page on GitHub" href="{{edit-me-link | replace: " ", "" }}" class="btn btn-secondary" id="edit_on_github">{{site.data.translations.editOnGithub}}</a>
16
16
  </div>
17
17
  {% else %}
18
18
  {% capture github-home %}{{site.edit-on-github.repo}}{% endcapture %}
@@ -24,10 +24,9 @@
24
24
  <div class="btn-group my-2 mt-1" role="group" aria-label="Basic example" id="github_controls">
25
25
  <a aria-label="GitHub Home" title="GitHub Home" class="btn btn-secondary" href="{{github-home}}" id="github_home"> <span class="sr-only">Go to GitHub Repo home</span> <i
26
26
  class="icon-github-circled center-block"></i></a>
27
- <a aria-label="Report an issue on GitHub for this page" title="Report an issue on GitHub for this page" class="btn btn-secondary" href="{{report-issue-link}}" id="submit_issue">Report an
28
- Issue</a>
27
+ <a aria-label="Report an issue on GitHub for this page" title="Report an issue on GitHub for this page" class="btn btn-secondary" href="{{report-issue-link}}" id="submit_issue">{{site.data.translations.reportAnIssue}}</a>
29
28
  <a aria-label="Edit this page on GitHub" title="Edit this page on GitHub" href="{{edit-me-link | replace: " ", "" }}" type="button" class="btn btn-secondary"
30
- id="edit_on_github">Edit on GitHub</a>
29
+ id="edit_on_github">{{site.data.translations.editOnGithub}}</a>
31
30
  </div>
32
31
  {% endif %}
33
32
  {% endif %}
@@ -1,6 +1,7 @@
1
1
  <head>
2
2
  {% include components/http2.html %}
3
3
  <meta charset="UTF-8">
4
+ {% I18n_Headers %}
4
5
  <title>
5
6
  {% if page.meta_title %}
6
7
  {{page.meta_title}} | {{site.title}}
@@ -15,13 +16,13 @@
15
16
  {% if page.description %}
16
17
  {% assign description = page.description %}
17
18
  {% else %}
18
- {% assign description = site.description %}
19
+ {% capture description %}{{site.data.translations.info.description}}{% endcapture %}
19
20
  {% endif %}
20
21
 
21
22
  {% if page.title %}
22
23
  {% assign title = page.title %}
23
24
  {% else %}
24
- {% assign title = site.title %}
25
+ {% capture title %}{{site.data.translations.info.title}}{% endcapture %}
25
26
  {% endif %}
26
27
 
27
28
  {% if page.image %}
@@ -22,13 +22,13 @@
22
22
  {{block.modal_content | markdownify}}
23
23
  </div>
24
24
  <div class="modal-footer">
25
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
25
+ <button type="button" class="btn btn-secondary" data-dismiss="modal">{{site.data.translations.close}}</button>
26
26
  </div>
27
27
  </div>
28
28
  </div>
29
29
  </div>
30
30
  {% endif %}
31
- <div class="col col-12 col-sm-6 col-lg-{{block_width}} block_column">
31
+ <div class="col col-12 col-sm{% unless block_width == 'auto' %}-6 col-lg-{{block_width}}{% endunless %} block_column">
32
32
  <div class="card h-100 {% if block.background_image %}background_image text-white{% endif %} {% if block.style %}{{block.style}}{% endif %}">
33
33
  {% if block.image %}
34
34
  {% assign block_image = block.image %}
@@ -50,7 +50,7 @@
50
50
  {% if block.modal_content %}
51
51
  <!-- Button trigger modal -->
52
52
  <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#blockModal-{{forloop.index}}-{{block.title | slugify}}">
53
- More Info
53
+ {{site.data.translations.moreInfo}}
54
54
  </button>
55
55
  {% else %}
56
56
  {% if block.buttons %}
@@ -7,13 +7,23 @@
7
7
  {% include components/github_edit.html pagePath=page.path pagePermalink=page.permalink %}
8
8
  </div>
9
9
  <div class="col col-12 text-white text-center">
10
- <span class="copyright">Copyright &copy; {{ 'now' | date: "%Y" }} {{site.data.footer.copyright_text}}</span>
10
+ <span class="copyright">{{site.data.translations.copyright}} &copy; {{ 'now' | date: "%Y" }} {{site.data.footer.copyright_text}}</span>
11
11
  {% for link in site.data.footer.company_links %}
12
12
  <span class="coloured-bp">&bull;</span>
13
13
  <a href="{{link.url}}">{{link.name}}</a>
14
14
  {% endfor %}
15
15
  {% include_cached social_media_icons.html %}
16
16
  </div>
17
+ {% if site.i18n_enabled %}
18
+ <div class="col col-12 text-white text-center">
19
+ {% for lang in site.languages %}
20
+ <a {% if lang == site.active_lang %}style="font-weight: bold;"{% endif %} {% static_href %}href="{% if lang == site.default_lang %}{{site.baseurl}}{{page.url}}{% else %}{{site.baseurl}}/{{ lang }}{{page.url}}{% endif %}"{% endstatic_href %} >{{ lang }}</a>
21
+ {% unless forloop.last %}
22
+ <span class="coloured-bp">&bull;</span>
23
+ {% endunless %}
24
+ {% endfor %}
25
+ </div>
26
+ {% endif %}
17
27
  {% if site.data.footer.footer_brand %}
18
28
  <div class="col col-12 text-white text-center m-t-10">
19
29
  <a href="{{site.data.footer.footer_brand.url}}/">
@@ -12,7 +12,7 @@
12
12
  {% if site.data.nav.brand.custom_include %}
13
13
  {% include {{site.data.nav.brand.custom_include}} %}
14
14
  {% else %}
15
- <a class="navbar-brand" href="/">
15
+ <a class="navbar-brand" href="{% if site.active_lang == site.default_lang %}/{% else %}/{{site.active_lang}}/{% endif %}">
16
16
  <img src="{{site.data.nav.brand.path}}" alt="{{site.data.nav.brand.alt}}" height="60" class="d-inline-block align-top">
17
17
  </a>
18
18
  {% endif %}
@@ -21,7 +21,7 @@
21
21
  <span class="icon-bar"></span>
22
22
  <span class="icon-bar"></span>
23
23
  <span class="icon-bar"></span>
24
- <span class="sr-only">Toggle navigation</span>
24
+ <span class="sr-only">{{site.data.translations.toggleNavigation}}</span>
25
25
  </button>
26
26
  <div class="collapse navbar-collapse" id="navbar-collapse">
27
27
  <ul class="navbar-nav ml-auto">
@@ -129,8 +129,8 @@
129
129
  </a>
130
130
  <div class="dropdown-menu" aria-labelledby="navbarDropdown">
131
131
  <form class="form-inline flex-nowrap" action="/search/" method="GET" target="_self" id="search_form">
132
- <input class="form-control border-0 flex-grow-1" name="q" type="search" placeholder="Search..." aria-label="Search">
133
- <button class="btn btn-outline-primary border-0" type="submit">Search</button>
132
+ <input class="form-control border-0 flex-grow-1" name="q" type="search" placeholder="{{site.data.translations.search.search}}..." aria-label="{{site.data.translations.search.search}}">
133
+ <button class="btn btn-outline-primary border-0" type="submit">{{site.data.translations.search.search}}</button>
134
134
  <input type="hidden" name="fields.label" value="{{ site.search_label }}">
135
135
  </form>
136
136
  </div>
@@ -3,12 +3,12 @@
3
3
  <nav class="navbar navbar-expand-{{nav_expand_point}} navbar-dark" id="universal_nav">
4
4
  <div class="container">
5
5
  <button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
6
- aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
6
+ aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{site.data.translations.toggleNavigation}}">
7
7
  <!-- <span class="navbar-toggler-icon"></span> -->
8
8
  <span class="icon-bar"></span>
9
9
  <span class="icon-bar"></span>
10
10
  <span class="icon-bar"></span>
11
- <span class="sr-only">Toggle navigation</span>
11
+ <span class="sr-only">{{site.data.translations.toggleNavigation}}</span>
12
12
  </button>
13
13
  <div class="collapse navbar-collapse" id="navbarSupportedContent">
14
14
  <ul class="navbar-nav ml-auto">
@@ -21,7 +21,7 @@
21
21
  <span class="icon-bar"></span>
22
22
  <span class="icon-bar"></span>
23
23
  <span class="icon-bar"></span>
24
- <span class="sr-only d-none">Toggle navigation</span>
24
+ <span class="sr-only d-none">{{site.data.translations.toggleNavigation}}</span>
25
25
  </button>
26
26
  <a class="nav-link dropdown-toggle d-block d-{{nav_expand_point}}-none" target="_self" href="#" id="universalNavbarDropdown" aria-label="Toggle unviersal navigation" role="button" data-toggle="dropdown"
27
27
  aria-haspopup="true" aria-expanded="false">
@@ -55,6 +55,7 @@
55
55
  {% for item in site.data.universal_nav.items %}
56
56
  {% if item.icon %}
57
57
  <a target="_blank" class="nav-link" href="{{item.url}}">
58
+ <span class="sr-only">{{item.icon}}</span>
58
59
  <span class="{{item.icon}}"></span>
59
60
  </a>
60
61
  {% endif %}
data/_layouts/author.html CHANGED
@@ -49,7 +49,7 @@ css_package: blog
49
49
  <div class="col col-12 col-lg-10 py-4 blog-content">
50
50
  {% assign content_length = author.content | size %}
51
51
  {% if content_length > 1 %}
52
- <h3>About</h3>
52
+ <h3>{{site.data.translations.about}}</h3>
53
53
  {{author.content | markdownify }}
54
54
  <hr/>
55
55
  {% endif %}
data/_layouts/base.html CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  ---
3
3
  <!DOCTYPE html>
4
- <html lang="en">
4
+ <html lang="{{site.active_lang}}">
5
5
  {% include components/head.html %}
6
6
  <body>
7
7
  <div id="wrapper" class="main">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -53,61 +53,61 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.9.0
55
55
  - !ruby/object:Gem::Dependency
56
- name: jekyll-sitemap
56
+ name: jekyll-tidy
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.4.0
61
+ version: 0.2.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.4.0
68
+ version: 0.2.2
69
69
  - !ruby/object:Gem::Dependency
70
- name: jekyll-tidy
70
+ name: jekyll-toc
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.2
75
+ version: 0.15.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.2.2
82
+ version: 0.15.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: jekyll-toc
84
+ name: jekyll-feed
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.15.0
89
+ version: 0.13.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.15.0
96
+ version: 0.13.0
97
97
  - !ruby/object:Gem::Dependency
98
- name: jekyll-feed
98
+ name: jekyll-polyglot
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.13.0
103
+ version: 1.5.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.13.0
110
+ version: 1.5.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: japr
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -148,14 +148,14 @@ dependencies:
148
148
  requirements:
149
149
  - - '='
150
150
  - !ruby/object:Gem::Version
151
- version: 1.17.2
151
+ version: 1.17.3
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - '='
157
157
  - !ruby/object:Gem::Version
158
- version: 1.17.2
158
+ version: 1.17.3
159
159
  description:
160
160
  email:
161
161
  - kyle.kirkby@linaro.org
@@ -167,9 +167,15 @@ files:
167
167
  - README.md
168
168
  - _config.yml
169
169
  - _data/footer.yml
170
+ - _data/ja/footer.yml
171
+ - _data/ja/nav.yml
172
+ - _data/ja/sticky_tab_bar.yml
173
+ - _data/ja/translations.yml
174
+ - _data/ja/universal_nav.yml
170
175
  - _data/nav.yml
171
176
  - _data/picture.yml
172
177
  - _data/sticky_tab_bar.yml
178
+ - _data/translations.yml
173
179
  - _data/universal_nav.yml
174
180
  - _includes/blog/authors_posts.html
175
181
  - _includes/blog/blog_filler_element.html