Problem/Motivation

Let's tell google that ads are not relevant: https://developers.google.com/search/docs/crawling-indexing/robots-meta-...

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ad-3536054

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

anybody’s picture

Assigned: anybody » lrwebks
Status: Active » Needs review

@lrwebks: please check if this works and the attribute persists after rendering the ad.

lrwebks’s picture

Definitely works, but TRUE is more appropriate here as the array value. It doesn't set the attribute's value to “TRUE” but rather adds the attribute like a flag attribute without the empty string value. I will change that quickly.

anybody’s picture

Assigned: lrwebks » Unassigned
Status: Needs review » Reviewed & tested by the community

Perfect, you're right!

  • anybody committed e9941cfd on 11.x
    Issue #3536054 by anybody, lrwebks: Add data-nosnippet around ads
    
anybody’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.