5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 17:11:41 +00:00

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