Sha256: ac32a2860f019dedf7614d0b547a39ef52e3dde3bf897e901bc22b2472f0ece9
Contents?: true
Size: 302 Bytes
Versions: 3
Compression:
Stored size: 302 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dato-0.8.3 | lib/dato/utils/meta_tags/article_modified_time.rb |
dato-0.8.2 | lib/dato/utils/meta_tags/article_modified_time.rb |
dato-0.8.1 | lib/dato/utils/meta_tags/article_modified_time.rb |