features/cli.feature in jekyll-chatgpt-translate-0.0.6 vs features/cli.feature in jekyll-chatgpt-translate-0.0.7

- old
+ new

@@ -11,15 +11,15 @@ source: en layout: translated targets: - language: cn - permalink: :year-:month-:day-:title-chinese.html + permalink: :year-:month-:day-:slug-chinese.html layout: chinese-translated - language: fr - permalink: :year/:title-french.html + permalink: :year/:slug-french.html """ And I have a "_layouts/default.html" file with content: """ {{ content }} """ @@ -28,15 +28,17 @@ Chinese: {{ content }} """ And I have a "_posts/2023-01-01-hello.md" file with content: """ --- + title: Hello, world! layout: default --- Hello, world! """ Then I build Jekyll site + Then File "_chatgpt-translated/cn/2023-01-01-hello-cn.md" exists Then File "_site/2023/01/01/hello.html" exists - Then File "_site/2023-01-01-Hello-chinese.html" exists - Then File "_site/2023/Hello-french.html" exists + Then File "_site/2023-01-01-hello-chinese.html" exists + Then File "_site/2023/hello-french.html" exists And Exit code is zero