From df4566af59ba8e453d12f27784bbcd4082cfc666 Mon Sep 17 00:00:00 2001 From: Arquivo Publico de Memoria Coletiva Date: Fri, 31 Jul 2015 23:38:38 -0300 Subject: Initial static site generation --- ikiwiki/pagespec/sorting/index.html | 138 ++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 ikiwiki/pagespec/sorting/index.html (limited to 'ikiwiki/pagespec/sorting') diff --git a/ikiwiki/pagespec/sorting/index.html b/ikiwiki/pagespec/sorting/index.html new file mode 100644 index 00000000000..9093b22cb72 --- /dev/null +++ b/ikiwiki/pagespec/sorting/index.html @@ -0,0 +1,138 @@ + + + + + + + +sorting + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sáb 12 Nov 2011 14:02:20 BRST +

+

Some directives that use +PageSpecs allow +specifying the order that matching pages are shown in. The following sort +orders can be specified.

+ +
    +
  • age - List pages from the most recently created to the oldest.

  • +
  • mtime - List pages with the most recently modified first.

  • +
  • title - Order by title (page name), e.g. "z/a a/b a/c"

  • +
  • path - Order by page name including parents, e.g. "a/b a/c z/a"

  • +
  • meta(title) - Order according to the [[!meta title="foo" sortas="bar"]] +or [[!meta title="foo"]] directive, or the page name if no +full title was set. meta(author), meta(date), meta(updated), etc. +also work.

  • +
+ + +

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).

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + -- cgit v1.2.3