0
Ich benutze Flasche einige Json in HTML-Vorlage zu drucken, so dass ich in Vorlage:Json in HTML-Vorlage
% for rows in url:
<ul>
% for cols in rows[0:2]:
<li>
{{cols}}
</li>
% end
% for req in rows[2:3]:
<li>
{{req}}
</li>
% end
</ul>
% end
Ergebnis:
- http://www.adress/
- 1,5
- { 'x -xss-protection ':' 1; mode = block ',' x-content-type-options ': ' nosniff ',' alter ':' 2295260 ',' abläuft ':' Fr, 08 Dez 2017 08:32:02 GMT ',' vary ' : 'Accept-Encoding', 'Server': 'sffe', 'last-modified': 'Do, 8. Dezember 2016 01.00.57 GMT', 'Verbindung': 'schließen'}
aber ich will in das letzte Element der Liste, um eine andere Liste zu machen, also, wenn ich
% for list in req:
{{list}}
% end
ich
- x
- -
- x
- s
- s
- ...
Hat eine Idee jemand die Liste zu drucken?