From 084eba2ec12d0ca19342242a19a206200950cfce Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sat, 20 Apr 2024 11:25:06 +0300 Subject: [PATCH] #670: config --- Gemfile | 2 +- _config.yml | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 84962677518..551672e5c4a 100644 --- a/Gemfile +++ b/Gemfile @@ -22,7 +22,7 @@ source 'https://rubygems.org' gem 'jekyll', '4.3.3' gem 'jekyll-bits', '0.15' -gem 'jekyll-chatgpt-translate', '0.0.43' +gem 'jekyll-chatgpt-translate', '0.0.45' gem 'jekyll-feed', '0.17.0' gem 'jekyll-gist', '1.5.0' gem 'jekyll-git-hash', '0.1.1' diff --git a/_config.yml b/_config.yml index 2c6fb5c27a5..ad413cc580c 100644 --- a/_config.yml +++ b/_config.yml @@ -51,16 +51,29 @@ shorts: chatgpt-translate: threshold: 64 min_chars: 20 - source: en version: "42" layout: translated targets: - + only: post + source: en language: zh permalink: zh/:year/:month/:day/:slug.html - + only: post + source: en language: ru permalink: ru/:year/:month/:day/:slug.html + - + only: ru-post + source: ru + language: en + permalink: en/:year-:month-:day-:slug.html + - + only: ru-post + source: ru + language: zh + permalink: zh/:year-:month-:day-:slug.html # see https://github.com/alfanick/jekyll-related-posts related: