diff options
| author | Nikita Shubin <nikita.shubin@maquefel.me> | 2026-08-21 15:25:35 +0300 |
|---|---|---|
| committer | Nikita Shubin <nikita.shubin@maquefel.me> | 2026-08-24 11:26:12 +0300 |
| commit | 6c69886fa5ccd416c830af243ebc1f0b555dd34c (patch) | |
| tree | b811355ff78b3544462c865efbd3400625474a4d | |
| parent | 97dcc884920b5a391d552b0cad1103fb832747a0 (diff) | |
| download | landau.one-6c69886fa5ccd416c830af243ebc1f0b555dd34c.tar.gz landau.one-6c69886fa5ccd416c830af243ebc1f0b555dd34c.zip | |
Add translation infra and move 'ru'
Add translation infrastructure move all Russian content to 'ru'
subdirectory and make it default.
hugo support 2 schemes:
- named based translation naming i.e. about.en.md
- directory based translation name i.e. en/abount.md
Use directory based, as it's more convenient.
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
| -rw-r--r-- | content/ru/_index.md (renamed from content/_index.md) | 0 | ||||
| -rw-r--r-- | content/ru/landau-linux/_index.md (renamed from content/landau-linux/_index.md) | 0 | ||||
| -rw-r--r-- | content/ru/landau-linux/maintenance/_index.md (renamed from content/landau-linux/maintenance/_index.md) | 0 | ||||
| -rw-r--r-- | content/ru/open_mic_27_03_2026/_index.md (renamed from content/open_mic_27_03_2026/_index.md) | 0 | ||||
| -rw-r--r-- | content/ru/rulkc.png (renamed from content/rulkc.png) | bin | 8749 -> 8749 bytes | |||
| -rw-r--r-- | hugo.yaml | 20 |
6 files changed, 20 insertions, 0 deletions
diff --git a/content/_index.md b/content/ru/_index.md index 48405c1..48405c1 100644 --- a/content/_index.md +++ b/content/ru/_index.md diff --git a/content/landau-linux/_index.md b/content/ru/landau-linux/_index.md index 1da986e..1da986e 100644 --- a/content/landau-linux/_index.md +++ b/content/ru/landau-linux/_index.md diff --git a/content/landau-linux/maintenance/_index.md b/content/ru/landau-linux/maintenance/_index.md index 865831a..865831a 100644 --- a/content/landau-linux/maintenance/_index.md +++ b/content/ru/landau-linux/maintenance/_index.md diff --git a/content/open_mic_27_03_2026/_index.md b/content/ru/open_mic_27_03_2026/_index.md index 15117d8..15117d8 100644 --- a/content/open_mic_27_03_2026/_index.md +++ b/content/ru/open_mic_27_03_2026/_index.md diff --git a/content/rulkc.png b/content/ru/rulkc.png Binary files differindex 8ae262d..8ae262d 100644 --- a/content/rulkc.png +++ b/content/ru/rulkc.png @@ -9,6 +9,26 @@ footnotereturnlinkcontents: "↩" disableKinds : ["taxonomy", "term"] relativeURLs: true canonifyURLs: false +enableSymlinks: true + +defaultContentLanguage: 'ru' +defaultContentLanguageInSubdir: true + +languages: + ru: + languageName: 'Русский' + contentDir: 'content/ru' + weight: 1 + title: 'LANDAU' + params: + description: 'Linux And Neo-Depositorium Associated Unity' + en: + languageName: 'English' + contentDir: 'content/en' + weight: 2 + title: 'LANDAU' + params: + description: 'Linux And Neo-Depositorium Associated Unity' permalinks: note: "/note/:year/:month/:day/:slug/" |
