summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorzweistein <zweistein@web>2020-03-07 13:53:43 +0000
committerIkiWiki <ikiwiki.info>2020-03-07 13:53:43 +0000
commit22beb34fedb8ede16233f4dac032638345fa8252 (patch)
tree9a11d4531f21a7f914881a82f5dacae21164e182 /ikiwiki
parent3d5b12d22d15291e6cc69a50c4bc8754d0b54817 (diff)
aktiv?
Diffstat (limited to 'ikiwiki')
-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"]]