mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-28 14:16:22 +00:00
18 lines
313 B
Ruby
18 lines
313 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Metadata
|
||
|
# Mixin para campos que son el contenido de un documento
|
||
|
module ContentConcern
|
||
|
extend ActiveSupport::Concern
|
||
|
|
||
|
included do
|
||
|
# Son parte del contenido
|
||
|
#
|
||
|
# @return [Boolean]
|
||
|
def front_matter?
|
||
|
false
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|