fix: implement CSM-006
This commit is contained in:
1 parent
93a4159c31
commit
e5429f7265
5 files changed
+140
-53
No files matched your search
@@ -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, []) || []
|
||||
|
||||
Reference in new issue
Block a user