diff --git a/_data/pages.yml b/_data/pages.yml
new file mode 100644
index 0000000..d9414b4
--- /dev/null
+++ b/_data/pages.yml
@@ -0,0 +1,66 @@
+en:
+ index: |
+ # What is Eclair?
+ **Eclair** is an [open source](https://github.com/NonExistPlayer/EclairPlayer) audio player written in C# using the [Avalonia](https://github.com/AvaloniaUI/Avalonia) framework and the [LibVLCSharp](https://github.com/videolan/libvlcsharp) library, which is gradually being developed.
+
+ # Why Eclair?
+ **Eclair** is an attempt to create an alternative to existing audio players, for those who value the appearance of the program and who care about it. This player is a new player.
+
+ # Why Eclair open source?
+ I, [NonExistPlayer](https://github.com/NonExistPlayer) support free software.
+ I don't think my hobby should be closed source.
+ I enjoy developing this project despite the difficulties and problems I encounter when developing with **Eclair**.
+
+ # Other
+ ## Supported audio formats
+ - `.mp3`
+ - `.aac`
+ - `.asf`
+ - `.wma`
+ - `.ogg`
+ - `.flac`
+ - `.midi`
+ - `.wav`
+
+ ## Supported OS
+ The minimum version for launching is written next to the OS name.
+ - **Android** 8.0
+
+ The following information is taken [from here](https://github.com/AvaloniaUI/Avalonia/wiki/Runtime-Requirements).
+ - **Windows** 8.0
+ - **Debian** 9
+ - **Ubuntu** 16.04
+ - **Fedora** 30
+ru:
+ index: |
+ # Что такое Eclair?
+ **Eclair** — аудио плеер с [открытым исходным кодом](https://github.com/NonExistPlayer/EclairPlayer) написанный на C# с использованием фреймворка [Avalonia](https://github.com/AvaloniaUI/Avalonia) и библиотеки [LibVLCSharp](https://github.com/videolan/libvlcsharp), который постепенно равзивается.
+
+ # Почему Eclair?
+ **Eclair** это попытка создать альтернативу существующим аудио плеерам, для тех кто ценит внешний вид программы и кому не всё равно на это. Этот плеер это новый плеер.
+
+ # Почему Eclair с открытым исходным кодом?
+ Я, [NonExistPlayer](https://github.com/NonExistPlayer) поддерживаю свободное ПО.
+ Я не считаю что моё хобби должно быть закрытым.
+ Мне нравится разрабатывать этот проект не смотря на трудности и проблемы с которыми я сталкиваюсь при разработке с **Eclair**.
+
+ # Прочее
+ ## Поддерживаемые аудио-форматы
+ - `.mp3`
+ - `.aac`
+ - `.asf`
+ - `.wma`
+ - `.ogg`
+ - `.flac`
+ - `.midi`
+ - `.wav`
+
+ ## Поддерживаемые ОC
+ Рядом с названием ОС написана минимальная версия для запуска.
+ - **Android** 8.0
+
+ Следующая информация взята [отсюда](https://github.com/AvaloniaUI/Avalonia/wiki/Runtime-Requirements).
+ - **Windows** 8.0
+ - **Debian** 9
+ - **Ubuntu** 16.04
+ - **Fedora** 30
\ No newline at end of file
diff --git a/_data/t.yml b/_data/t.yml
new file mode 100644
index 0000000..7e07dad
--- /dev/null
+++ b/_data/t.yml
@@ -0,0 +1,15 @@
+en:
+ slogan: "Just. Open. Sweet."
+ desc: "An open-source audio player."
+ download: "Download"
+ eclair-source-code: "Eclair Source Code"
+ source-code: "Site Source Code"
+ license: "The source code of the site is protected by the GPL v3.0 license."
+
+ru:
+ slogan: "Просто. Открыто. Сладко."
+ desc: "Аудио плеер с открытым исходным кодом."
+ download: "Скачать"
+ eclair-source-code: "Исходный код"
+ source-code: "Исходный код сайта"
+ license: "Исходный код сайта защищён лицензией GPL v3.0."
\ No newline at end of file
diff --git a/_includes/footer-ru.html b/_includes/footer-ru.html
deleted file mode 100644
index cfbac3b..0000000
--- a/_includes/footer-ru.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/_includes/footer.html b/_includes/footer.html
index 31dd993..1bd53f5 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -4,12 +4,13 @@
\ No newline at end of file
diff --git a/_includes/header-ru.html b/_includes/header-ru.html
deleted file mode 100644
index 21aac38..0000000
--- a/_includes/header-ru.html
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/_includes/header.html b/_includes/header.html
index 0275f94..80752f3 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -19,9 +19,25 @@
- Download
-
- Русский
+ {{ site.data.t[page.lang].download }}
+ {%- for path in page_paths -%}
+ {%- assign my_page = site.pages | where: "path", path | first -%}
+ {%- if my_page.lang == page.lang and my_page.title != 'Eclair' -%}
+ {%- if my_page.title -%}
+ {{ my_page.title | escape }}
+ {%- endif -%}
+ {%- endif -%}
+ {%- endfor -%}
+ {%- if page.lang == 'en' -%}
+
+ Русский
+ {%- else -%}
+
+ English
+ {%- endif -%}
+
{%- endif -%}
diff --git a/_layouts/home-ru.html b/_layouts/home-ru.html
deleted file mode 100644
index 6666f7d..0000000
--- a/_layouts/home-ru.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- {%- include head.html -%}
-
- {%- include header-ru.html -%}
-
- {{ content }}
-
- {%- include footer-ru.html -%}
-
\ No newline at end of file
diff --git a/_layouts/home.html b/_layouts/home.html
index a0c01a7..4f17435 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -1,5 +1,5 @@
-
+
{%- include head.html -%}
{%- include header.html -%}
diff --git a/_layouts/main.html b/_layouts/main.html
new file mode 100644
index 0000000..06ba869
--- /dev/null
+++ b/_layouts/main.html
@@ -0,0 +1,14 @@
+---
+layout: home
+---
+
+
+
+
+ Eclair
+
+ {{ site.data.t[page.lang].slogan }}
+
{{ site.data.t[page.lang].desc }}
+
+
+{{ content }}
\ No newline at end of file
diff --git a/index.md b/index.md
index 7f1a514..5a4feee 100644
--- a/index.md
+++ b/index.md
@@ -1,48 +1,8 @@
---
-layout: home
+layout: main
title: Eclair
----
-
-# What is Eclair?
-**Eclair** is an [open source](https://github.com/NonExistPlayer/EclairPlayer) audio player written in C# using the [Avalonia](https://github.com/AvaloniaUI/Avalonia) framework and the [LibVLCSharp](https://github.com/videolan/libvlcsharp) library, which is gradually being developed.
-
-# Why Eclair?
-**Eclair** is an attempt to create an alternative to existing audio players, for those who value the appearance of the program and who care about it. This player is a new player.
-
-# Why Eclair open source?
-I, [NonExistPlayer](https://github.com/NonExistPlayer) support free software.
-I don't think my hobby should be closed source.
-I enjoy developing this project despite the difficulties and problems I encounter when developing with **Eclair**.
-# Other
-## Supported audio formats
-- `.mp3`
-- `.aac`
-- `.asf`
-- `.wma`
-- `.ogg`
-- `.flac`
-- `.midi`
-- `.wav`
-
-## Supported OS
-The minimum version for launching is written next to the OS name.
-- **Android** 8.0
-- ~~iOS~~
-- ~~MacOS~~
+lang: en
+---
-The following information is taken [from here](https://github.com/AvaloniaUI/Avalonia/wiki/Runtime-Requirements).
-- **Windows** 8.0
-- **Debian** 9
-- **Ubuntu** 16.04
-- **Fedora** 30
\ No newline at end of file
+{{ site.data.pages[page.lang].index }}
\ No newline at end of file
diff --git a/ru/index.md b/ru/index.md
index b5f510f..bdc1885 100644
--- a/ru/index.md
+++ b/ru/index.md
@@ -1,46 +1,9 @@
---
-layout: home-ru
+layout: main
title: Eclair
permalink: /ru/
----
-
-
-# Что такое Eclair?
-**Eclair** — аудио плеер с [открытым исходным кодом](https://github.com/NonExistPlayer/EclairPlayer) написанный на C# с использованием фреймворка [Avalonia](https://github.com/AvaloniaUI/Avalonia) и библиотеки [LibVLCSharp](https://github.com/videolan/libvlcsharp), который постепенно равзивается.
-
-# Почему Eclair?
-**Eclair** это попытка создать альтернативу существующим аудио плеерам, для тех кто ценит внешний вид программы и кому не всё равно на это. Этот плеер это новый плеер.
-# Почему Eclair с открытым исходным кодом?
-Я, [NonExistPlayer](https://github.com/NonExistPlayer) поддерживаю свободное ПО.
-Я не считаю что моё хобби должно быть закрытым.
-Мне нравится разрабатывать этот проект не смотря на трудности и проблемы с которыми я сталкиваюсь при разработке с **Eclair**.
-
-# Прочее
-## Поддерживаемые аудио-форматы
-- `.mp3`
-- `.aac`
-- `.asf`
-- `.wma`
-- `.ogg`
-- `.flac`
-- `.midi`
-- `.wav`
-
-## Поддерживаемые ОC
-Рядом с названием ОС написана минимальная версия для запуска.
-- **Android** 8.0
+lang: ru
+---
-Следующая информация взята [отсюда](https://github.com/AvaloniaUI/Avalonia/wiki/Runtime-Requirements).
-- **Windows** 8.0
-- **Debian** 9
-- **Ubuntu** 16.04
-- **Fedora** 30
\ No newline at end of file
+{{ site.data.pages[page.lang].index }}
\ No newline at end of file