Sha256: 6096fcf6139869eef1a23bf885ac1613170e69daf5486150e9760d24c12260c4
Contents?: true
Size: 539 Bytes
Versions: 125
Compression:
Stored size: 539 Bytes
Contents
require 'trusty_cms/taggable' module DeprecatedTags include TrustyCms::Taggable deprecated_tag "comment", :substitute => "hide", :deadline => '2.0' deprecated_tag "meta", :deadline => '2.0' do |tag| if tag.double? tag.expand else tag.render('description', tag.attr) + tag.render('keywords', tag.attr) end end deprecated_tag "rfc1123_date", :deadline => '2.0' do |tag| page = tag.locals.page if date = page.published_at || page.created_at CGI.rfc1123_date(date.to_time) end end end
Version data entries
125 entries across 125 versions & 1 rubygems