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 end
def title(post) def title(post)
"#{post&.title&.value || post&.slug&.value} (#{layout.humanized_name})" "#{post&.title&.value || post&.slug&.value} (#{post.layout.humanized_name})"
end end
# Encuentra el filtro # Encuentra el filtro