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

This commit is contained in:
hugo committed 2026-05-28 21:36:10 +02:00
1 parent ff89d78ab4
commit 05923f255b
3 files changed
+22 -2

No files matched your search

+1 -1
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},