summaryrefslogtreecommitdiff
path: root/ikiwiki/directive
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/directive')
-rw-r--r--ikiwiki/directive/brokenlinks.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/ikiwiki/directive/brokenlinks.mdwn b/ikiwiki/directive/brokenlinks.mdwn
new file mode 100644
index 00000000..b967e74d
--- /dev/null
+++ b/ikiwiki/directive/brokenlinks.mdwn
@@ -0,0 +1,19 @@
+[[!if test="enabled(brokenlinks)"
+ then="In diesem Wiki ist die Direktive: brokenlinks **aktiviert**."
+ else="In diesem Wiki ist die Direktive: brokenlinks **nicht aktiv**; falls dies gewünscht wird, den Admin benachrichtigen."]]
+
+---
+The `brokenlinks` directive is supplied by the [[!iki plugins/brokenlinks desc=brokenlinks]] plugin.
+
+This directive generates a list of broken links on pages in the wiki. This is
+a useful way to find pages that still need to be written, or links that
+are written wrong.
+
+The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the
+pages to search for broken links, default is search them all.
+
+Example:
+
+ \[[!brokenlinks pages="* and !recentchanges"]]
+
+[[!meta robots="noindex, follow"]]