printable.html.twig 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for printer friendly version of entities.
  5. *
  6. * Available variables:
  7. * - title: Top level node title.
  8. * - base_url: URL to the home page.
  9. *
  10. * @see template_preprocess_printable()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <!DOCTYPE html>
  16. <html{{ html_attributes }}>
  17. <head>
  18. <title>{{ title }}</title>
  19. <style>
  20. .node_view ul li{
  21. display:none;
  22. }
  23. </style>
  24. <link type="text/css" rel="stylesheet" href="{{ base_url }}/css/drupal-printable.css" />
  25. {% if include_css %}
  26. <link type="text/css" rel="stylesheet" href="/{{ include_css }}" />
  27. {% endif %}
  28. {% if close_script %}
  29. <script type="text/javascript" src="{{ close_script }}"></script>
  30. {% else %}
  31. <script type="text/javascript" src="{{ send_script }}"></script>
  32. {% endif %}
  33. </head>
  34. <body>
  35. <div id="printable-root-page">
  36. <header>
  37. <h1>{{ site_name }}</h1>
  38. <aside>{{ slogan }}</aside>
  39. </header>
  40. {{ content }}
  41. </div>
  42. </body>
  43. </html>