Sha256: 155755113266e64d6440ba24f1a242387a0641f1a948d69d6fc1efa9e7b9c89c

Contents?: true

Size: 301 Bytes

Versions: 49

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true
require 'dato/utils/meta_tags/base'
require 'time'

module Dato
  module Utils
    module MetaTags
      class ArticleModifiedTime < Base
        def build
          og_tag('article:modified_time', item.updated_at.iso8601) if item
        end
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
dato-0.3.28 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.27 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.26 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.25 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.24 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.23 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.22 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.21 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.20 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.19 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.18 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.17 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.16 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.15 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.14 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.13 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.12 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.9.1 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.11 lib/dato/utils/meta_tags/article_modified_time.rb
dato-0.3.10 lib/dato/utils/meta_tags/article_modified_time.rb