fix: A1-4 omit doNotTranslate from frontmatter when false per spec

This commit is contained in:
2026-05-28 21:36:10 +02:00
parent ff89d78ab4
commit 05923f255b
3 changed files with 22 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ defmodule BDS.Posts.FileSync do
{"status", :published},
{"author", post.author},
{"language", post.language},
{"doNotTranslate", post.do_not_translate},
{"doNotTranslate", post.do_not_translate || nil},
{"templateSlug", post.template_slug},
{"createdAt", post.created_at},
{"updatedAt", post.updated_at},