summaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec/sorting.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/pagespec/sorting.mdwn')
-rw-r--r--ikiwiki/pagespec/sorting.mdwn35
1 files changed, 17 insertions, 18 deletions
diff --git a/ikiwiki/pagespec/sorting.mdwn b/ikiwiki/pagespec/sorting.mdwn
index 0c6cc74..d912321 100644
--- a/ikiwiki/pagespec/sorting.mdwn
+++ b/ikiwiki/pagespec/sorting.mdwn
@@ -1,30 +1,29 @@
-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), e.g. "z/a a/b a/c"
+* `title` - Sorterer efter titel (sidenavn), f.eks. "z/a a/b a/c"
-* `path` - Order by page name including parents, e.g. "a/b a/c z/a"
+* `path` - Sorterer efter sidenavn inkl. bagvedliggende, f.eks. "a/b a/c z/a"
[[!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")
-* `path_natural` - Like `path`, but numbers in the title are treated as such
+* `path_natural` - Som `path`, men numre i titlen håndteres som sådanne
"""]]
[[!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"]]