$!text_section(path=['Indexpage', cat, 'summary'])!$
$!text_section(path=['Indexpage', cat, 'description'])!$
#!First, the non-iterable entries.!#
  
  @!title!@
  
  
    
      $!setvar('i', '0')!$ #!
  
      
        | $!html.pageLink(arr=[cat, subcat])!$ | $!text_field(path=node.path + ['summary'])!$ | 
      $!setvar('i', 'i+1')!$ #!
  
    
  
 
#!Then, the iterable entries.!#
 
  
    $!subcat!$
    
      
        
        
          | $!html.pageLink(arr=[cat, x.key])!$ | $!text_field(path=x.path + ['summary'])!$ | 
        
      
    
  
 
 
$!text_section(path=['Indexpage', cat, 'remarks'])!$
$!text_section(path=['Indexpage', cat, 'example'])!$
#!
#!
@!x!@
#!
#!
@!tree.find(['Indexpage', cat])!@
#! remove comment for debugging
#!
@!by_subcat!@