mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 15:46:21 +00:00
fix: la descripción del archivo es parte del título #16679
This commit is contained in:
parent
6063f8dc6b
commit
91e9eab975
1 changed files with 12 additions and 0 deletions
|
@ -18,6 +18,18 @@ class MetadataFile < MetadataTemplate
|
|||
# XXX: Esto ayuda a deserializar en {Site#everything_of}
|
||||
def values; end
|
||||
|
||||
# Usar la descripción
|
||||
def titleize?
|
||||
true
|
||||
end
|
||||
|
||||
# Devolver la descripción
|
||||
#
|
||||
# @return [String]
|
||||
def to_s
|
||||
value['description'].to_s
|
||||
end
|
||||
|
||||
def validate
|
||||
super
|
||||
|
||||
|
|
Loading…
Reference in a new issue