From 0d945d64765bc44e9176421a97f338209c5e8f9b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Sep 2008 18:30:20 -0400 Subject: add robots directive to all directive pages Since they'll be in an underlay, robots shouldn't index them, as with other underlay pages. --- underlays/basewiki/directive/aggregate.mdwn | 2 ++ underlays/basewiki/directive/brokenlinks.mdwn | 2 ++ underlays/basewiki/directive/calendar.mdwn | 2 ++ underlays/basewiki/directive/color.mdwn | 2 ++ underlays/basewiki/directive/copy.mdwn | 2 ++ underlays/basewiki/directive/cut.mdwn | 2 ++ underlays/basewiki/directive/cutpaste.mdwn | 2 ++ underlays/basewiki/directive/edittemplate.mdwn | 2 ++ underlays/basewiki/directive/fortune.mdwn | 2 ++ underlays/basewiki/directive/graph.mdwn | 2 ++ underlays/basewiki/directive/haiku.mdwn | 2 ++ underlays/basewiki/directive/if.mdwn | 2 ++ underlays/basewiki/directive/img.mdwn | 2 ++ underlays/basewiki/directive/inline.mdwn | 2 ++ underlays/basewiki/directive/linkmap.mdwn | 2 ++ underlays/basewiki/directive/listdirectives.mdwn | 2 ++ underlays/basewiki/directive/map.mdwn | 2 ++ underlays/basewiki/directive/meta.mdwn | 2 ++ underlays/basewiki/directive/more.mdwn | 2 ++ underlays/basewiki/directive/orphans.mdwn | 2 ++ underlays/basewiki/directive/pagecount.mdwn | 2 ++ underlays/basewiki/directive/pagestats.mdwn | 2 ++ underlays/basewiki/directive/pagetemplate.mdwn | 2 ++ underlays/basewiki/directive/paste.mdwn | 2 ++ underlays/basewiki/directive/ping.mdwn | 2 ++ underlays/basewiki/directive/poll.mdwn | 2 ++ underlays/basewiki/directive/polygen.mdwn | 2 ++ underlays/basewiki/directive/postsparkline.mdwn | 2 ++ underlays/basewiki/directive/progress.mdwn | 2 ++ underlays/basewiki/directive/shortcut.mdwn | 2 ++ underlays/basewiki/directive/sparkline.mdwn | 2 ++ underlays/basewiki/directive/table.mdwn | 2 ++ underlays/basewiki/directive/tag.mdwn | 2 ++ underlays/basewiki/directive/taglink.mdwn | 2 ++ underlays/basewiki/directive/template.mdwn | 2 ++ underlays/basewiki/directive/testpagespec.mdwn | 2 ++ underlays/basewiki/directive/teximg.mdwn | 2 ++ underlays/basewiki/directive/toc.mdwn | 2 ++ underlays/basewiki/directive/toggle.mdwn | 2 ++ underlays/basewiki/directive/toggleable.mdwn | 2 ++ underlays/basewiki/directive/version.mdwn | 2 ++ 41 files changed, 82 insertions(+) (limited to 'underlays') diff --git a/underlays/basewiki/directive/aggregate.mdwn b/underlays/basewiki/directive/aggregate.mdwn index 6173f3944..f132c9746 100644 --- a/underlays/basewiki/directive/aggregate.mdwn +++ b/underlays/basewiki/directive/aggregate.mdwn @@ -49,3 +49,5 @@ directive: Note that even if you are using subversion or another revision control system, pages created by aggregation will *not* be checked into revision control. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/brokenlinks.mdwn b/underlays/basewiki/directive/brokenlinks.mdwn index 27a333196..2cde5b64a 100644 --- a/underlays/basewiki/directive/brokenlinks.mdwn +++ b/underlays/basewiki/directive/brokenlinks.mdwn @@ -10,3 +10,5 @@ pages to search for broken links, default is search them all. Example: \[[!brokenlinks pages="* and !recentchanges"]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/calendar.mdwn b/underlays/basewiki/directive/calendar.mdwn index 4688af920..5cbfa2dc6 100644 --- a/underlays/basewiki/directive/calendar.mdwn +++ b/underlays/basewiki/directive/calendar.mdwn @@ -42,3 +42,5 @@ the given time frame. and so on. Defaults to 0, which is Sunday. * `months_per_row` - In the annual calendar, number of months to place in each row. Defaults to 3. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/color.mdwn b/underlays/basewiki/directive/color.mdwn index cdb9b6c1d..be8907099 100644 --- a/underlays/basewiki/directive/color.mdwn +++ b/underlays/basewiki/directive/color.mdwn @@ -21,3 +21,5 @@ background: The foreground is missing, so the text has the default foreground color: \[[!color background=#ff0000 text="Default color text on red background"]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/copy.mdwn b/underlays/basewiki/directive/copy.mdwn index 145bfdb1a..a0aa0ef7f 100644 --- a/underlays/basewiki/directive/copy.mdwn +++ b/underlays/basewiki/directive/copy.mdwn @@ -1 +1,3 @@ [[!meta redir=/ikiwiki/directive/cutpaste]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/cut.mdwn b/underlays/basewiki/directive/cut.mdwn index 145bfdb1a..a0aa0ef7f 100644 --- a/underlays/basewiki/directive/cut.mdwn +++ b/underlays/basewiki/directive/cut.mdwn @@ -1 +1,3 @@ [[!meta redir=/ikiwiki/directive/cutpaste]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/cutpaste.mdwn b/underlays/basewiki/directive/cutpaste.mdwn index 6b90647e7..7c1d5b6cb 100644 --- a/underlays/basewiki/directive/cutpaste.mdwn +++ b/underlays/basewiki/directive/cutpaste.mdwn @@ -52,3 +52,5 @@ nest directives that require multiline parameters inside each other: \[[!cut id=baz text=""" multiline parameter! """]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/edittemplate.mdwn b/underlays/basewiki/directive/edittemplate.mdwn index 94295585e..b3187ea66 100644 --- a/underlays/basewiki/directive/edittemplate.mdwn +++ b/underlays/basewiki/directive/edittemplate.mdwn @@ -30,3 +30,5 @@ the template page itself, since the directive would then be included as part of the template on new pages, which would then in turn be registered as templates. If multiple pages are registered as templates for a new page, an arbitrary one is chosen, so that could get confusing. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/fortune.mdwn b/underlays/basewiki/directive/fortune.mdwn index 8d07be5df..5ba704b66 100644 --- a/underlays/basewiki/directive/fortune.mdwn +++ b/underlays/basewiki/directive/fortune.mdwn @@ -4,3 +4,5 @@ This just uses the `fortune` program to insert a fortune cookie into the page. Usage: \[[!fortune ]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/graph.mdwn b/underlays/basewiki/directive/graph.mdwn index b669c2e80..48eb7e340 100644 --- a/underlays/basewiki/directive/graph.mdwn +++ b/underlays/basewiki/directive/graph.mdwn @@ -19,3 +19,5 @@ The `graph` directive supports the following parameters: - `height`, `width` - Limit the size of the graph to a given height and width, in inches. You must specify both to limit the size; otherwise, graphviz will choose a size, without any limit. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/haiku.mdwn b/underlays/basewiki/directive/haiku.mdwn index d7df3e249..15d303bb7 100644 --- a/underlays/basewiki/directive/haiku.mdwn +++ b/underlays/basewiki/directive/haiku.mdwn @@ -11,3 +11,5 @@ The hint parameter can be omitted, it only provides the generator a hint of what to write the haiku about. If no hint is given, it might base it on the page name. Since the vocabulary it knows is very small, many hints won't affect the result at all. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/if.mdwn b/underlays/basewiki/directive/if.mdwn index 57a04aa74..d6419b18b 100644 --- a/underlays/basewiki/directive/if.mdwn +++ b/underlays/basewiki/directive/if.mdwn @@ -44,3 +44,5 @@ additional tests: * included() Tests whether the page is being included onto another page. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/img.mdwn b/underlays/basewiki/directive/img.mdwn index cfcafc3b3..ab3c07bfd 100644 --- a/underlays/basewiki/directive/img.mdwn +++ b/underlays/basewiki/directive/img.mdwn @@ -34,3 +34,5 @@ the page, unless overridden. Useful when including many images on a page. \[[!img photo1.jpg]] \[[!img photo2.jpg]] \[[!img photo3.jpg size=200x600]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/inline.mdwn b/underlays/basewiki/directive/inline.mdwn index 7dfda7eda..4bf0de13d 100644 --- a/underlays/basewiki/directive/inline.mdwn +++ b/underlays/basewiki/directive/inline.mdwn @@ -8,3 +8,5 @@ inside another. For example: The most common use of inlining is generating blogs and RSS or Atom feeds. See [[ikiwiki/blog]] for details. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/linkmap.mdwn b/underlays/basewiki/directive/linkmap.mdwn index e28e1aba2..ecc12bd77 100644 --- a/underlays/basewiki/directive/linkmap.mdwn +++ b/underlays/basewiki/directive/linkmap.mdwn @@ -20,3 +20,5 @@ directive: * `height`, `width` - Limit the size of the map to a given height and width, in inches. Both must be specified for the limiting to take effect, otherwise the map's size is not limited. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/listdirectives.mdwn b/underlays/basewiki/directive/listdirectives.mdwn index 47ced80b5..0564159e0 100644 --- a/underlays/basewiki/directive/listdirectives.mdwn +++ b/underlays/basewiki/directive/listdirectives.mdwn @@ -16,3 +16,5 @@ be listed if the `generated` argument is supplied. This extended list is often quite long, and often contains many undocumented directives. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/map.mdwn b/underlays/basewiki/directive/map.mdwn index 3b27416ef..543470864 100644 --- a/underlays/basewiki/directive/map.mdwn +++ b/underlays/basewiki/directive/map.mdwn @@ -15,3 +15,5 @@ the [[meta]] plugin). For example: Hint: To limit the map to displaying pages less than a certain level deep, use a [[ikiwiki/PageSpec]] like this: `pages="* and !*/*/*"` + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/meta.mdwn b/underlays/basewiki/directive/meta.mdwn index c1d6cab08..b01dbfe76 100644 --- a/underlays/basewiki/directive/meta.mdwn +++ b/underlays/basewiki/directive/meta.mdwn @@ -145,3 +145,5 @@ If the field is not one of the above predefined fields, the metadata will be written to the generated html page as a <meta> header. However, this won't be allowed if the [[!iki plugins/htmlscrubber]] plugin is enabled, since it can be used to insert unsafe content. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/more.mdwn b/underlays/basewiki/directive/more.mdwn index defe7eb3d..68c2cd39a 100644 --- a/underlays/basewiki/directive/more.mdwn +++ b/underlays/basewiki/directive/more.mdwn @@ -12,3 +12,5 @@ leads to the full version of the page. Use it like this: If the `linktext` parameter is omitted it defaults to just "more". Note that you can accomplish something similar using a [[toggle]] instead. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/orphans.mdwn b/underlays/basewiki/directive/orphans.mdwn index db9af19a8..19b00f0ca 100644 --- a/underlays/basewiki/directive/orphans.mdwn +++ b/underlays/basewiki/directive/orphans.mdwn @@ -11,3 +11,5 @@ pages to check for orphans, default is search them all. Note that it takes backlinks into account, but does not count inlining a page as linking to it, so will generally count many blog-type pages as orphans. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/pagecount.mdwn b/underlays/basewiki/directive/pagecount.mdwn index 314fe382a..f799a5d7f 100644 --- a/underlays/basewiki/directive/pagecount.mdwn +++ b/underlays/basewiki/directive/pagecount.mdwn @@ -6,3 +6,5 @@ This directive counts pages currently in the wiki. Example: The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the pages to count, default is to count them all. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/pagestats.mdwn b/underlays/basewiki/directive/pagestats.mdwn index c5b39bae3..de0419a03 100644 --- a/underlays/basewiki/directive/pagestats.mdwn +++ b/underlays/basewiki/directive/pagestats.mdwn @@ -11,3 +11,5 @@ Here's how to use it to create a [[tag]] cloud: And here's how to create a table of all the pages on the wiki: \[[!pagestats style="table"]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/pagetemplate.mdwn b/underlays/basewiki/directive/pagetemplate.mdwn index 855763228..9c8e43962 100644 --- a/underlays/basewiki/directive/pagetemplate.mdwn +++ b/underlays/basewiki/directive/pagetemplate.mdwn @@ -11,3 +11,5 @@ by the system administrator, typically into the `/usr/share/ikiwiki/templates` directory. Example: \[[!pagetemplate template="my_fancy.tmpl"]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/paste.mdwn b/underlays/basewiki/directive/paste.mdwn index 145bfdb1a..a0aa0ef7f 100644 --- a/underlays/basewiki/directive/paste.mdwn +++ b/underlays/basewiki/directive/paste.mdwn @@ -1 +1,3 @@ [[!meta redir=/ikiwiki/directive/cutpaste]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/ping.mdwn b/underlays/basewiki/directive/ping.mdwn index 5bb340edb..9eac60fd5 100644 --- a/underlays/basewiki/directive/ping.mdwn +++ b/underlays/basewiki/directive/ping.mdwn @@ -14,3 +14,5 @@ the pinging. This is used to prevent ping loops. The "to" parameter is the url to ping. The example shows how to ping another ikiwiki instance. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/poll.mdwn b/underlays/basewiki/directive/poll.mdwn index d27329c72..e991dfaa9 100644 --- a/underlays/basewiki/directive/poll.mdwn +++ b/underlays/basewiki/directive/poll.mdwn @@ -21,3 +21,5 @@ Parameters: voting. * `total` - Show total number of votes at bottom of poll. Default is "yes". * `percent` - Whether to display percents. Default is "yes". + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/polygen.mdwn b/underlays/basewiki/directive/polygen.mdwn index 0ad5c12e3..3facc131d 100644 --- a/underlays/basewiki/directive/polygen.mdwn +++ b/underlays/basewiki/directive/polygen.mdwn @@ -7,3 +7,5 @@ For example: It's also possible to specify a starting nonterminal for the grammar by including `symbol="text"` in the directive. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/postsparkline.mdwn b/underlays/basewiki/directive/postsparkline.mdwn index 4ee8569f1..398b48ef1 100644 --- a/underlays/basewiki/directive/postsparkline.mdwn +++ b/underlays/basewiki/directive/postsparkline.mdwn @@ -41,3 +41,5 @@ them to use the modification times of pages, set it to "mtime". To change the color used to draw the sparkline, use the `color` parameter. For example, "color=red". + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/progress.mdwn b/underlays/basewiki/directive/progress.mdwn index 57b37ec4a..c477c435a 100644 --- a/underlays/basewiki/directive/progress.mdwn +++ b/underlays/basewiki/directive/progress.mdwn @@ -14,3 +14,5 @@ For example, to show what percentage of pages have discussion pages: \[[!progress totalpages="* and !*/Discussion" donepages="*/Discussion"]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/shortcut.mdwn b/underlays/basewiki/directive/shortcut.mdwn index 25aa9f382..14cdbdce7 100644 --- a/underlays/basewiki/directive/shortcut.mdwn +++ b/underlays/basewiki/directive/shortcut.mdwn @@ -5,3 +5,5 @@ more easily using shortcuts. The available shortcuts are defined on the [[shortcuts]] page in the wiki. The `shortcut` directive can only be used on that page. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/sparkline.mdwn b/underlays/basewiki/directive/sparkline.mdwn index 911ba96fd..d6eee7287 100644 --- a/underlays/basewiki/directive/sparkline.mdwn +++ b/underlays/basewiki/directive/sparkline.mdwn @@ -48,3 +48,5 @@ more detail in [its wiki](http://sparkline.wikispaces.com/usage). Available values for the text location are: "top", "right", "bottom", and "left". + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/table.mdwn b/underlays/basewiki/directive/table.mdwn index 0ddb0a9a3..0d1af1249 100644 --- a/underlays/basewiki/directive/table.mdwn +++ b/underlays/basewiki/directive/table.mdwn @@ -41,3 +41,5 @@ cells. For example: * `header` - By default, or if set to "row", the first data line is used as the table header. Set it to "no" to make a table without a header, or "column" to make the first column be the header. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/tag.mdwn b/underlays/basewiki/directive/tag.mdwn index 3ddb3234f..a6e1833a4 100644 --- a/underlays/basewiki/directive/tag.mdwn +++ b/underlays/basewiki/directive/tag.mdwn @@ -26,3 +26,5 @@ something like this: \[[!tag ./foo]] \[[!taglink /foo]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/taglink.mdwn b/underlays/basewiki/directive/taglink.mdwn index 2fc08b1ff..dbfabf8e1 100644 --- a/underlays/basewiki/directive/taglink.mdwn +++ b/underlays/basewiki/directive/taglink.mdwn @@ -1 +1,3 @@ [[!meta redir=/ikiwiki/directive/tag]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/template.mdwn b/underlays/basewiki/directive/template.mdwn index b405331a7..38b7e3c5e 100644 --- a/underlays/basewiki/directive/template.mdwn +++ b/underlays/basewiki/directive/template.mdwn @@ -14,3 +14,5 @@ the specified value, and inserts the result into the page. For a list of available templates, and details about how to create more, see the [[templates]] page. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/testpagespec.mdwn b/underlays/basewiki/directive/testpagespec.mdwn index 38b5c67ae..401353e89 100644 --- a/underlays/basewiki/directive/testpagespec.mdwn +++ b/underlays/basewiki/directive/testpagespec.mdwn @@ -20,3 +20,5 @@ the part of the [[ikiwiki/PageSpec]] that fails is this negated match. This will print out something like "match: barpage matches barpage", indicating the part of the [[ikiwiki/PageSpec]] that caused it to match. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/teximg.mdwn b/underlays/basewiki/directive/teximg.mdwn index 08bec67a8..bd040c9cf 100644 --- a/underlays/basewiki/directive/teximg.mdwn +++ b/underlays/basewiki/directive/teximg.mdwn @@ -19,3 +19,5 @@ height is used. To add an alt text to the image, use alt="text": \[[!teximg code="\frac{1}{2}" alt="1/2"]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/toc.mdwn b/underlays/basewiki/directive/toc.mdwn index e499ee824..94b0fe1af 100644 --- a/underlays/basewiki/directive/toc.mdwn +++ b/underlays/basewiki/directive/toc.mdwn @@ -17,3 +17,5 @@ level, even if there are higher levels seen later in the file. The table of contents will be created as an ordered list. If you want an unordered list instead, you can change the list-style in your local style sheet. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/toggle.mdwn b/underlays/basewiki/directive/toggle.mdwn index f4602ba29..5729fca11 100644 --- a/underlays/basewiki/directive/toggle.mdwn +++ b/underlays/basewiki/directive/toggle.mdwn @@ -30,3 +30,5 @@ The id has a default value of "default", so can be omitted in simple cases. If you'd like a toggleable to be displayed by default, and toggle to hidden, then pass a parameter "open=yes" when setting up the toggleable. + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/toggleable.mdwn b/underlays/basewiki/directive/toggleable.mdwn index c69cbf801..5536f4489 100644 --- a/underlays/basewiki/directive/toggleable.mdwn +++ b/underlays/basewiki/directive/toggleable.mdwn @@ -1 +1,3 @@ [[!meta redir=/ikiwiki/directive/toggle]] + +[[!meta robots="noindex, follow"]] diff --git a/underlays/basewiki/directive/version.mdwn b/underlays/basewiki/directive/version.mdwn index da1ddceb5..8ab96d045 100644 --- a/underlays/basewiki/directive/version.mdwn +++ b/underlays/basewiki/directive/version.mdwn @@ -8,3 +8,5 @@ updating the version number. Use is simple: \[[!version ]] + +[[!meta robots="noindex, follow"]] -- cgit v1.2.3