base.html.twig 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. {% block meta %}
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. {% endblock %}
  8. <title>
  9. {% block title %}{% endblock %}
  10. </title>
  11. {% block stylesheets %}
  12. <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Open+Sans&display=swap" rel="stylesheet">
  13. <link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base.css') }}" media="screen and (min-width: 1300px)">
  14. <link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base_mid.css') }}" media="screen and (max-width: 1300px)">
  15. <link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base_small.css') }}" media="screen and (max-width: 750px)">
  16. <link rel='stylesheet' type='text/css' href="{{ asset('assets/css/reset.css') }}">
  17. {% for stylesheet in get_show_styles() %}
  18. <link rel='stylesheet' type='text/css' href="{{ asset('assets/css/' ~ stylesheet) }}">
  19. {% endfor %}
  20. {% endblock %}
  21. </head>
  22. <body>
  23. <div class="container">
  24. {% block header %}
  25. <div id='header'>
  26. <div id='top'>
  27. {% block left %}
  28. {% endblock left %}
  29. <nav id='instance'>
  30. <a href="{{ path('main_public') }}">
  31. {{ icon('logo', 'icon icon-logo') | raw }}
  32. <b> {{ config('site', 'name') }} </b>
  33. </a>
  34. </nav>
  35. <div id="right-panel">
  36. <input type="checkbox" id="toggle-right" class="larger">
  37. <div class="arrow right">
  38. <label for="toggle-right" id='right-panel'></label>
  39. </div>
  40. <div class='rss'>
  41. <div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. {% endblock header%}
  48. {% block nav %}{% endblock %}
  49. {% block body %}{% endblock %}
  50. {% block javascripts %}{% endblock javascripts%}
  51. </div>
  52. </body>
  53. </html>