Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<meta name="robots" content="noindex, follow"> in default layout #68

Open
jglauche opened this issue Jun 20, 2016 · 5 comments
Open

<meta name="robots" content="noindex, follow"> in default layout #68

jglauche opened this issue Jun 20, 2016 · 5 comments

Comments

@jglauche
Copy link

Hello,

I recently set up a small website with sculpin and wondered why it wouldn't be found in search engines until a friend of mine pointed out to me that the sites include this meta tag:

<meta name="robots" content="noindex, follow">

Aargh! I noticed the default robots.txt but that? Why would that be put in a bootstrap layout file?

@WyriHaximus
Copy link
Member

That was initially introduced with #23 now the theory is that only the content matters and not the pages linking to it. Now your posts should have this tag instead:

<meta name="robots" content="index, follow">

My blog has those tags in place and when searching for it the posts do show up on google: https://www.google.nl/?q=site:blog.wyrihaximus.net

Out of interest are your pages blog posts or static pages?

@jglauche
Copy link
Author

Static pages for now, I disabled the blog (as this still needs to be converted). The static pages all had nofollow, so I deleted the meta tag.

@WyriHaximus
Copy link
Member

so I deleted the meta tag

I'll make a PR soon with an example static page to mitigate this in the future.

@opdavies
Copy link

@beryllium
Copy link
Member

Yep, seems more appropriate there. The content generated by the sculpin init command doesn't have this meta tag.

@beryllium beryllium transferred this issue from sculpin/sculpin Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants