Sha256: 2991fa54d17008bed7a14bc5604777168b1cd1906256005fff64f08f070d265b

Contents?: true

Size: 256 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
dato-0.8.3 lib/dato/utils/meta_tags/robots.rb
dato-0.8.2 lib/dato/utils/meta_tags/robots.rb
dato-0.8.1 lib/dato/utils/meta_tags/robots.rb