module Bridgetown::Publishable
Public Instance Methods
published?()
click to toggle source
Whether the file is published or not, as indicated in YAML front-matter
# File lib/bridgetown-core/concerns/publishable.rb, line 6 def published? !(data.key?("published") && data["published"] == false) end