1 {% extends '@RapsysBlog/_base.html.twig' %}
 
   3         <meta charset="UTF-8" />
 
   4         <meta name="viewport" content="width=device-width" />
 
   5         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
   6         {% if locale is defined and locale %}<meta http-equiv="Content-Language" content="{{ locale }}" />{% endif %}
 
   9         <style type="text/css">
 
  10                 body {background:white;color:#222}
 
  11                 a {text-decoration:none;color:#15c}
 
  12                 a:hover {text-decoration:underline}
 
  13                 a.link {word-break:break-all;font-size:1.5rem}
 
  14                 h1 {margin: .5rem;font-size: 2rem}
 
  15                 table {width: 100%;border-radius: .5rem}
 
  16                 table.header {border:.1rem solid #09c;text-align:center}
 
  17                 table.content {background:white;border:.1rem solid #09c;margin:.5rem 0}
 
  18                 table.footer {border:.1rem solid #09c;text-align:center;font-weight:bold}
 
  19                 table.footer summary:after {display:none}
 
  20                 table.footer summary::-webkit-details-marker {display:none}
 
  24         <table class="header">
 
  26                         {% if logo is defined and logo %}<td><a href="{{ url(root)|escape('html_attr') }}"><img src="{{ email.image(logo.png) }}" alt="{{ logo.alt|escape('html_attr') }}" /></a></td>{% endif %}
 
  27                         <td><h1><a href="{{ url(root)|escape('html_attr') }}">{{ title.site }}</a></h1></td>
 
  30         {% block content %}{% endblock %}
 
  31         {% if copy is defined and copy %}
 
  32                 <table class="footer">
 
  34                                 <td colspan="2">{{ copy.long }} - {{ copy.short }}</td>