index.html 344 B

123456789101112131415161718
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. {%include 'inc/header.html'%}
  5. </head>
  6. <body>
  7. <h1>
  8. pc{% if 'site' in data and data['site'] %}:{{data['site']['name']}}{% end %}
  9. </h1>
  10. {% if 'product' in data and data['product'] %}
  11. <ul>
  12. {% for v in data['product'] %}
  13. <li><a href="#"><p>{{v['name']}}</p></a></li>
  14. {% end %}
  15. </ul>
  16. {% end %}
  17. </body>
  18. </html>