Sha256: 142e275e78d8fd6250043390eb583f2cff5544d67e19599176d2e3961a305e8f

Contents?: true

Size: 256 Bytes

Versions: 26

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

require 'dato/utils/meta_tags/base'

module Dato
  module Utils
    module MetaTags
      class Robots < Base
        def build
          meta_tag('robots', 'noindex') if site.no_index
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
dato-0.6.16 lib/dato/utils/meta_tags/robots.rb
dato-0.6.15 lib/dato/utils/meta_tags/robots.rb
dato-0.6.14 lib/dato/utils/meta_tags/robots.rb
dato-0.6.12 lib/dato/utils/meta_tags/robots.rb
dato-0.6.11 lib/dato/utils/meta_tags/robots.rb
dato-0.6.10 lib/dato/utils/meta_tags/robots.rb