1 2 3 4 5 6 7 8 9 10 11 12
$def with (keyword_data) $var title: Keyword <table border="1"> <tr> <th>Keyword</th> <th>Hosts</th> <th>Packages</th> </tr> $for keyword in keyword_data.keys(): <tr><td>$keyword</td><td>$keyword_data[keyword]['HOSTS']</td><td>$keyword_data[keyword]['PACKAGES']</td></tr> </table>