mostrar el tipo de articulo bien

This commit is contained in:
f 2021-03-27 10:38:37 -03:00
parent 102cd0abd3
commit 2f0e3ee20e

View file

@ -26,7 +26,7 @@ class MetadataRelatedPosts < MetadataArray
end
def title(post)
"#{post&.title&.value || post&.slug&.value} (#{layout.humanized_name})"
"#{post&.title&.value || post&.slug&.value} (#{post.layout.humanized_name})"
end
# Encuentra el filtro