Project

General

Profile

Actions

Patch #2174

closed

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

Added by Jan Topiński about 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-11-13
Due date:
% Done:

0%

Estimated time:

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.


Files

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

Also available in: Atom PDF