summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorzweistein <zweistein@web>2020-03-07 13:57:21 +0000
committerIkiWiki <ikiwiki.info>2020-03-07 13:57:21 +0000
commit8b93011cf9a40c2972485712fd73e1d6ec47838d (patch)
tree954d117cd2f2a886d1cb914f6b3b7c6b046f94d2 /ikiwiki
parent22beb34fedb8ede16233f4dac032638345fa8252 (diff)
aktiv?
Diffstat (limited to 'ikiwiki')
-rw-r--r--ikiwiki/directive/orphans.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/ikiwiki/directive/orphans.mdwn b/ikiwiki/directive/orphans.mdwn
new file mode 100644
index 00000000..a29de255
--- /dev/null
+++ b/ikiwiki/directive/orphans.mdwn
@@ -0,0 +1,20 @@
+[[!if test="enabled(orphans)"
+ then="In diesem Wiki ist die Direktive: orphans **aktiviert**."
+ else="In diesem Wiki ist die Direktive: orphans **nicht aktiv**; falls dies gewünscht wird, den Admin benachrichtigen."]]
+
+---
+The `orphans` directive is supplied by the [[!iki plugins/orphans desc=orphans]] plugin.
+
+This directive generates a list of possibly orphaned pages -- pages that no
+other page links to. Example:
+
+ \[[!orphans pages="* and !blog/*"]]
+
+The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the
+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"]]