Skip to content

Commit b2015d0

Browse files
authored
Merge branch 'master' into translation
2 parents 2351d2b + 36e751f commit b2015d0

File tree

10 files changed

+19
-1
lines changed

10 files changed

+19
-1
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ GEM
215215
jekyll-seo-tag (~> 2.1)
216216
minitest (5.11.3)
217217
multipart-post (2.0.0)
218-
nokogiri (1.8.4)
218+
nokogiri (1.8.5)
219219
mini_portile2 (~> 2.3.0)
220220
octokit (4.11.0)
221221
sawyer (~> 0.8.0, >= 0.5.3)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
layout: index
33
lang: es
4+
permalink: /es/
45
---
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
layout: index
33
lang: fr
4+
permalink: /fr/
45
---
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
layout: index
33
lang: id
4+
permalink: /id/
45
---
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
layout: index
33
lang: ko
4+
permalink: /ko/
45
---
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
layout: index
33
lang: ta
4+
permalink: /ta/
45
---
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
layout: index
33
lang: zh-cn
4+
permalink: /zh-cn/
45
---

_includes/nav.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
{% if page.layout != 'index' %}
1919
<div class="float-sm-left pl-3 breadcrumb">
2020
<p class="my-0 py-3 py-sm-4 text-gray">
21+
{% if page.lang != 'en' %}
22+
<a href="/{{ page.lang }}/" class="text-gray">{{ site.title }}</a>
23+
{% else %}
2124
<a href="/" class="text-gray">{{ site.title }}</a>
25+
{% endif %}
2226
</p>
2327
</div>
2428
{% endif %}

_layouts/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h1 class="alt-h1">{{ site.title }}</h1>
2323
<div class="gutter-sm d-flex flex-wrap flex-items-stretch pb-md-6">
2424
{% assign articles = site.articles | where: 'lang', page.lang | sort: 'order' %}
2525
{% for article in articles %}
26+
{% if article.layout != 'index' %}
2627
<div class="col-12 col-sm-9 mx-auto col-md-6 mt-4 mt-lg-5">
2728
<a href="{{ article.url | relative_url }}" class="guide-cover {{ article.class }} card height-full d-block">
2829

@@ -41,6 +42,7 @@ <h3 class="alt-h3 text-bold lh-condensed mb-2 text-black">
4142

4243
</a>
4344
</div>
45+
{% endif %}
4446
{% endfor %}
4547
</div>
4648
</div>

assets/css/custom.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ blockquote {
2020
}
2121
}
2222

23+
.lead,
24+
.alt-lead {
25+
word-break: keep-all;
26+
}
27+
2328
.pquote {
2429
border: $border;
2530
padding: $spacer-3;
@@ -172,6 +177,7 @@ blockquote {
172177
font-size: 21px;
173178
font-weight: $font-weight-light;
174179
color: $gray;
180+
word-break: keep-all;
175181
@include breakpoint(md) { font-size: 24px; }
176182
@include breakpoint(lg) { font-size: 26px; }
177183

0 commit comments

Comments
 (0)