fix: implement CSM-006

This commit is contained in:
hugo committed 2026-05-08 20:39:50 +02:00
1 parent 93a4159c31
commit e5429f7265
5 files changed
+140 -53

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ defmodule BDS.Rendering.PostRendering do
language = MapUtils.attr(assigns, :language, metadata.main_language || "en")
main_language = metadata.main_language || language
post_record = load_post_record(assigns)
post_record = Map.get(assigns, :_post_record) || load_post_record(assigns)
canonical_post = canonical_post_record(post_record)
post_id = canonical_post_id(post_record, assigns)
post_categories = Map.get(post_record || %{}, :categories, []) || []