mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 19:06:21 +00:00
17 lines
313 B
Ruby
17 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
|