summaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec/sorting.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-02-11 02:48:57 +0100
committerJonas Smedegaard <dr@jones.dk>2011-02-11 02:48:57 +0100
commit8ca29252c1926e0238cc9c1390541b345877449a (patch)
tree929c93b1c22a16d56d155ec0b1d9cd3c9e9a581d /ikiwiki/pagespec/sorting.mdwn
parent24d0f83d5af8385ad674616632b1b6330be8fa14 (diff)
parentd9c40b97ef32e65677a5b310e95a5804b3ff8fbb (diff)
Merge branch 'da' into HEAD
Diffstat (limited to 'ikiwiki/pagespec/sorting.mdwn')
-rw-r--r--ikiwiki/pagespec/sorting.mdwn31
1 files changed, 15 insertions, 16 deletions
diff --git a/ikiwiki/pagespec/sorting.mdwn b/ikiwiki/pagespec/sorting.mdwn
index ccd7f7e..4c6b908 100644
--- a/ikiwiki/pagespec/sorting.mdwn
+++ b/ikiwiki/pagespec/sorting.mdwn
@@ -1,26 +1,25 @@
-Some [[directives|ikiwiki/directive]] that use
-[[PageSpecs|ikiwiki/pagespec]] allow
-specifying the order that matching pages are shown in. The following sort
-orders can be specified.
+Nogle [[direktiver|ikiwiki/directive]] som anvender
+[[PageSpecs|ikiwiki/pagespec]] tillader angivelse af rækkefølge modsvarende
+sider vises i. Den følgende sorteringsrækkefølge kan angives.
-* `age` - List pages from the most recently created to the oldest.
+* `age` - Viser sider fra den nyest oprettede til den ældste.
-* `mtime` - List pages with the most recently modified first.
+* `mtime` - Viser side med den nyest redigerede først.
-* `title` - Order by title (page name).
+* `title` - Sorterer efter titel (sidenavn).
[[!if test="enabled(sortnaturally)" then="""
-* `title_natural` - Orders by title, but numbers in the title are treated
- as such, ("1 2 9 10 20" instead of "1 10 2 20 9")
+* `title_natural` - Sorterer efter titel, men numre i titlen håndteres som
+ sådanne, ("1 2 9 10 20" fremfor "1 10 2 20 9")
"""]]
[[!if test="enabled(meta)" then="""
-* `meta(title)` - Order according to the `\[[!meta title="foo" sortas="bar"]]`
- or `\[[!meta title="foo"]]` [[ikiwiki/directive]], or the page name if no
- full title was set. `meta(author)`, `meta(date)`, `meta(updated)`, etc.
- also work.
+* `meta(title)` - Sorterer ifølge `\[[!meta title="foo" sortas="bar"]]`
+ eller `\[[!meta title="foo"]]` [[direktivet|ikiwiki/directive]], eller
+ sidenavnet hvis ingen fuldstændig titel var angivet. `meta(author)`,
+ `meta(date)`, `meta(updated)`, osv. fungerer også.
"""]]
-In addition, you can combine several sort orders and/or reverse the order of
-sorting, with a string like `age -title` (which would sort by age, then by
-title in reverse order if two pages have the same age).
+Du kan desuden kombinere flere sorteringsrækkefølger og/eller vende den om,
+med en streng i stil med `age -title` (som ville sortere efter alder, og
+så efter titel i omvendt orden hvis to sider har samme alder).
[[!meta robots="noindex, follow"]]