mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 10:36:22 +00:00
70e64e6e97
como reemplazo del campo `markdown` que coloca texto con markdown en el front matter.
12 lines
181 B
Ruby
12 lines
181 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Campos en HTML
|
|
class MetadataHtml < MetadataContent
|
|
def front_matter?
|
|
true
|
|
end
|
|
|
|
def document_value
|
|
document.data[name.to_s]
|
|
end
|
|
end
|