summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-31 08:48:10 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-31 08:48:10 +0000
commita2cfdaaec5666a08af864ebad8133e18d7cbbcb3 (patch)
tree0d2b9c644d4124d3d20c1958ecde277025f78e0a /doc
parentf9e8c6012903cb98b9885ff8b76d897fa151dadb (diff)
* Hide excess backlinks and expand using CSS trick; control quantiy via
the numbacklinks setting.
Diffstat (limited to 'doc')
-rw-r--r--doc/style.css9
-rw-r--r--doc/usage.mdwn5
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/style.css b/doc/style.css
index af460dd0d..0a37e55aa 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -239,13 +239,14 @@ input#openid_url {
width: 25%
}
-/* Used by the popup template. */
+/* Used by the popup template and for backlinks hiding. */
.popup {
border-bottom: 1px dotted #366;
color: #366;
}
.popup .balloon,
-.popup .paren {
+.popup .paren,
+.popup .expand {
display: none;
}
.popup:hover .balloon,
@@ -261,3 +262,7 @@ input#openid_url {
-moz-opacity: 0.95;
filter: alpha(opacity=95);
}
+.popup:hover .expand,
+.popup:focus .expand {
+ display: inline;
+}
diff --git a/doc/usage.mdwn b/doc/usage.mdwn
index bb6f06aea..4ccd6bf44 100644
--- a/doc/usage.mdwn
+++ b/doc/usage.mdwn
@@ -233,6 +233,11 @@ configuration options of their own.
Enables or disables "Discussion" links from being added to the header of
every page. The links are enabled by default.
+* --numbacklinks n
+
+ Controls how many backlinks should be displayed maximum. Excess backlinks
+ will be hidden in a popup. Default is 10.
+
* --userdir subdir
Optionally, allows links to users of the wiki to link to pages inside a