Patch #2174

Patch for #1975 to extend child pages macro to display child pages based on page parameter

Added by Jan Topiński about 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:2008-11-13
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:-

Description

Hi,
I've made patch to implement feature #1975, child_pages macro after the patch work as follows:
When no parameter is given works as before.
When page name is given as a parameter it renders page hierarchy including page from parameter. Example:

{{child_pages(Foo)}}

results in:
  • Foo
    • Bar 0
    • Bar 1

Wiki syntax page was updated to match changes.

wiki_syntax_detailed.html.patch Magnifier (2.43 KB) Jan Topiński, 2008-11-13 10:44

macros.rb.patch Magnifier (1.99 KB) Jan Topiński, 2008-11-13 10:44

History

#1 Updated by Jean-Philippe Lang about 9 years ago

  • Status changed from New to Closed

Feature added in r2053. See #1975.

Also available in: Atom PDF