mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 13:31:42 +00:00
13 lines
181 B
Ruby
13 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
|