mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 18:01:42 +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
|