Refactor directory structure, update _config.yml to match opensource.guide
This change updates the directory structure of the jekyll site, moving the language-specific directories under `_articles` and updating the front matter / `_config.yml` to match. The goal was to clean up the root of the repository and bring the config in line with that used by the opensource.guide site.
This commit is contained in:
Родитель
02bdc66e0b
Коммит
88b426d956
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: ar
|
||||
permalink: /ar/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: bg
|
||||
permalink: /bg/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: bn
|
||||
permalink: /bn/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: de
|
||||
permalink: /de/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: es
|
||||
permalink: /es/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: fa
|
||||
permalink: /fa/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: fr
|
||||
permalink: /fr/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: it
|
||||
permalink: /it/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: ja
|
||||
permalink: /ja/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: ko
|
||||
permalink: /ko/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: pl
|
||||
permalink: /pl/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: pt
|
||||
permalink: /pt/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: ru
|
||||
permalink: /ru/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: tr
|
||||
permalink: /tr/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: uk
|
||||
permalink: /uk/
|
||||
---
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
layout: index
|
||||
lang: zh
|
||||
permalink: /zh/
|
||||
---
|
10
_config.yml
10
_config.yml
|
@ -19,11 +19,21 @@ exclude:
|
|||
|
||||
permalink: "/:path/"
|
||||
|
||||
collections:
|
||||
articles:
|
||||
output: true
|
||||
permalink: "/:path/"
|
||||
|
||||
defaults:
|
||||
- scope:
|
||||
path: ""
|
||||
values:
|
||||
image: /assets/images/social-graphic.jpg
|
||||
- scope:
|
||||
path: ""
|
||||
type: articles
|
||||
values:
|
||||
layout: default
|
||||
|
||||
plugins:
|
||||
- jekyll-redirect-from
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
layout: businesses
|
||||
lang: en
|
||||
---
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
layout: maintainers
|
||||
lang: en
|
||||
---
|
Загрузка…
Ссылка в новой задаче