Sha256: 9daff99f231914f1d75c537728916024c77f5defa6b8a9375b6d406379ab9a1b
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
# frozen_string_literal: true require "dato/utils/meta_tags/base" module Dato module Utils module MetaTags class ArticlePublisher < Base def build og_tag("article:publisher", facebook_page_url) if facebook_page_url end def facebook_page_url site.global_seo && site.global_seo.facebook_page_url 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_publisher.rb |
dato-0.8.2 | lib/dato/utils/meta_tags/article_publisher.rb |
dato-0.8.1 | lib/dato/utils/meta_tags/article_publisher.rb |