Difference between revisions of "Template:Nosnippet"
Jump to navigation
Jump to search
m |
m (updated the description a little bit) |
||
Line 1: | Line 1: | ||
<includeonly><span data-nosnippet>{{{1}}}</span>[[Category: Pages with custom Google snippets]]</includeonly><noinclude> |
<includeonly><span data-nosnippet>{{{1}}}</span>[[Category: Pages with custom Google snippets]]</includeonly><noinclude> |
||
When Google indexes Coppermind pages, it grabs the a number of characters from the opening paragraph(s) of the page to generate a preview. If those sentences includes spoilers for recent releases, users of the wiki can get spoiled on accident, without ever visiting a page. We can use this template to exclude a portion of a page from Google's search results: |
|||
Use this template to exclude portion of a page from Google's indexing of it. |
|||
<pre> |
|||
This is a relatively innocent opening sentence for a page, {{nosnippet|but there are spicy spoilers here, so they will still show up on the page, but not on Google}}. |
|||
</pre> |
|||
<noinclude> |
<noinclude> |
Revision as of 06:23, 20 November 2020
When Google indexes Coppermind pages, it grabs the a number of characters from the opening paragraph(s) of the page to generate a preview. If those sentences includes spoilers for recent releases, users of the wiki can get spoiled on accident, without ever visiting a page. We can use this template to exclude a portion of a page from Google's search results:
This is a relatively innocent opening sentence for a page, {{nosnippet|but there are spicy spoilers here, so they will still show up on the page, but not on Google}}.