github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/flosch/pongo2.v3/template_tests/macro.tpl.out (about)

     1  Begin
     2  
     3  
     4  Greetings to  from john doe. Howdy, anonymous guest!
     5  
     6  
     7  Greetings to 10 from john doe. Howdy, anonymous guest!
     8  
     9  
    10  Greetings to john from john doe. Howdy, anonymous guest!
    11  
    12  
    13  Greetings to john from michelle. Howdy, anonymous guest!
    14  
    15  
    16  Greetings to john from michelle. Howdy, johann!
    17  
    18  [Error (where: execution) in template_tests/macro.tpl | Line 2 Col 4 near 'macro'] Macro 'greetings' called with too many arguments (4 instead of 3).
    19  
    20  
    21  
    22  map[0] = Hello
    23  map[1] = 99
    24  map[2] = 3.140000
    25  map[3] = good
    26  
    27  issue #39 (deactivate auto-escape of macros)
    28  
    29  
    30  <p>Hello Max.</p>
    31  
    32  
    33  Importing macros
    34  
    35  <p>Hey User1!</p>
    36  <p>Hey User2!</p>
    37  <p>Hey Max!</p>
    38  
    39  Chaining macros
    40  
    41  
    42  One greeting: <p>Hey Dirk!</p> - <p>Hello mate!</p>
    43  
    44  End