nuxt-modules / robots

Tame the robots crawling and indexing your Nuxt site.
https://nuxtseo.com/robots
MIT License
424 stars 34 forks source link

Disallow How to add BlankLine #115

Closed Ischafak closed 10 months ago

Ischafak commented 10 months ago

Hi, first of all thank you for this wonderful module

i want to ask you this

robots: {
   rules: {
      UserAgent: '*oo',
      Disallow: ['/auth/', '/settings', 'BlankLine', '/search']
    }
  },

i wrote something like this

it is not very important but is it possible for me to add blankline between settings and search?

Disallow: /auth/ Disallow: /settings/

Disallow: /search*

Ischafak commented 10 months ago

ok i get it i need to add

rules

{ UserAgent: 'oo', Disallow: ['/auth/', '/settings', '/search', 'BlankLine'], BlankLine: true }, { UserAgent: 'oo', Disallow: ['/auth/', '/settings', '/search', 'BlankLine'], }

something like this i guess