index.html 537 B

12345678910111213141516171819
  1. {% import 'ui.html' as ui with context %}
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1" />
  5. <title>Hello</title>
  6. <link href="{{ url_for('static', path='/style.css') }}" rel="stylesheet">
  7. </head>
  8. <body>
  9. <a href="{{ url_for('admin_index') }}">Admin page</a>
  10. <h1>Hello World !</h1>
  11. <ul>
  12. {% for s in sites %}
  13. <li><a href="{{ url_for('site_main_article_snapshot', id=s['id']) }}">{{ ui.logo(s["name"]) }}</a></li>
  14. {% endfor %}
  15. </ul>
  16. </body>
  17. </html>