Sha256: 32866db2b2ed4de5f4d215adfc1852dbb7a0f9a08e5bd66ac9b082e5ed86cab9

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

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

module Agave
  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

4 entries across 4 versions & 1 rubygems

Version Path
agave-client-0.1.3 lib/agave/utils/meta_tags/article_modified_time.rb
agave-client-0.1.2 lib/agave/utils/meta_tags/article_modified_time.rb
agave-client-0.1.1 lib/agave/utils/meta_tags/article_modified_time.rb
agave-client-0.1.0 lib/agave/utils/meta_tags/article_modified_time.rb