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

Merge branch 'issue-14179' into 'rails'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Agregada fecha en Post con título duplicado #14179

See merge request sutty/sutty!209
This commit is contained in:
Elihu 2023-10-04 17:26:36 +00:00
commit 7e78fd861a

View file

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