Skip to content

Commit 2910005

Browse files
authored
Portuguese core configuration (#1755)
* define a new language scope for PT in the config file * include PT homepage block * add PT lessons to xml feed * create empty slots for PT in snippets * copy english pages to /pt Added the proper `original` term Removed legacy `redirect` links * adjust homepage so that it loops automatically through active languages * don't list PT as an active language yet * comment on snippets language-list * fully exclude PT folder in site config for now * fix anaconda link
1 parent 2757149 commit 2910005

24 files changed

+1835
-68
lines changed

_config.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ exclude:
99
- Gemfile
1010
- Gemfile.lock
1111
- archive
12+
- pt
1213
highlighter: rouge
1314
markdown: kramdown
1415
permalink: :categories/:title
@@ -19,61 +20,62 @@ plugins:
1920
paginate: 7
2021
paginate_path: "/blog/page:num/"
2122
defaults:
22-
-
23-
scope:
23+
- scope:
2424
path: ""
2525
values:
2626
lang: "en"
27-
-
28-
scope:
27+
- scope:
2928
path: "en"
3029
values:
3130
lang: "en"
32-
-
33-
scope:
31+
- scope:
3432
path: "es"
3533
values:
3634
lang: "es"
37-
-
38-
scope:
35+
- scope:
3936
path: "fr"
4037
values:
4138
lang: "fr"
42-
-
43-
scope:
39+
- scope:
40+
path: "pt"
41+
values:
42+
lang: "pt"
43+
- scope:
4444
path: "en/lessons"
4545
values:
4646
lesson: true
47-
-
48-
scope:
47+
- scope:
4948
path: "en/lessons/retired"
5049
values:
5150
lesson: false
5251
retired: true
53-
-
54-
scope:
52+
- scope:
5553
path: "es/lecciones/retirada"
5654
values:
5755
lesson: false
5856
retired: true
59-
-
60-
scope:
57+
- scope:
6158
path: "fr/lecons/retrait"
6259
values:
6360
lesson: false
6461
retired: true
65-
-
66-
scope:
62+
- scope:
6763
path: "es/lecciones"
6864
values:
6965
lesson: true
70-
-
71-
scope:
66+
- scope:
67+
path: "fr/lecons"
68+
values:
69+
lesson: true
70+
- scope:
71+
path: "pt/licoes"
72+
values:
73+
lesson: true
74+
- scope:
7275
path: "fr/lecons"
7376
values:
7477
lesson: true
75-
-
76-
scope:
78+
- scope:
7779
path: _posts
7880
values:
7981
category: posts

0 commit comments

Comments
 (0)