templates/bundles/OdiseoSyliusBlogPlugin/Shop/Article/index.html.twig line 1

Open in your IDE?
  1. {% import '@SyliusUi/Macro/pagination.html.twig' as pagination %}
  2. {% import '@SyliusUi/Macro/messages.html.twig' as messages %}
  3. {% extends '@SyliusShop/layout.html.twig' %}
  4. {% block content %}
  5.     <div class="container-blog">
  6.         <div class="container-h">
  7.         {% block blog_articles %}
  8.             {% if resources|length > 0 %}
  9.                 <div class="container-blog-article">
  10.                    <div class="column-left-article">
  11.                        {% for article in resources %}
  12.                            {% set month =  article.createdAt|date('F') %}
  13.                            {% set translation = 'sylius.ui.' ~ month %}
  14.                            {% if loop.first %}
  15.                            <div class="first-article">
  16.                                <div class="item">
  17.                                    {% if disqus_shortname() %}
  18.                                        <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}" data-disqus-identifier="{{ url('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}">
  19.                                            {% if article.images|length > 0 %}
  20.                                                <div class="image">
  21.                                                    <img src="{{ article.images[0].path|imagine_filter(filter|default('sylius_large')) }}" {{ sylius_test_html_attribute('main-image') }} alt="" class="ui bordered image" />
  22.                                                    {#                                           <img src="{{ article.images[0].path|imagine_filter(filter|default('sylius_small')) }}" alt="{{ article.images[0].path }}">#}
  23.                                                </div>
  24.                                            {% endif %}
  25.                                        </a>
  26.                                    {% else %}
  27.                                        <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}">
  28.                                            {% if article.images|length > 0 %}
  29.                                                <div class="image">
  30.                                                    <img src="{{ article.images[0].path|imagine_filter(filter|default('sylius_large')) }}" {{ sylius_test_html_attribute('main-image') }} alt="" class="ui bordered image" />
  31.                                                </div>
  32.                                            {% endif %}
  33.                                        </a>
  34.                                    {% endif %}
  35.                                    <div class="description">
  36.                                        <div class="desc-date">
  37.                                            <svg width="18" height="21" viewBox="0 0 18 21" fill="none" xmlns="http://www.w3.org/2000/svg">
  38.                                                <path d="M5 12.5C4.71667 12.5 4.479 12.404 4.287 12.212C4.09567 12.0207 4 11.7833 4 11.5C4 11.2167 4.09567 10.979 4.287 10.787C4.479 10.5957 4.71667 10.5 5 10.5C5.28333 10.5 5.521 10.5957 5.713 10.787C5.90433 10.979 6 11.2167 6 11.5C6 11.7833 5.90433 12.0207 5.713 12.212C5.521 12.404 5.28333 12.5 5 12.5ZM9 12.5C8.71667 12.5 8.47933 12.404 8.288 12.212C8.096 12.0207 8 11.7833 8 11.5C8 11.2167 8.096 10.979 8.288 10.787C8.47933 10.5957 8.71667 10.5 9 10.5C9.28333 10.5 9.521 10.5957 9.713 10.787C9.90433 10.979 10 11.2167 10 11.5C10 11.7833 9.90433 12.0207 9.713 12.212C9.521 12.404 9.28333 12.5 9 12.5ZM13 12.5C12.7167 12.5 12.4793 12.404 12.288 12.212C12.096 12.0207 12 11.7833 12 11.5C12 11.2167 12.096 10.979 12.288 10.787C12.4793 10.5957 12.7167 10.5 13 10.5C13.2833 10.5 13.5207 10.5957 13.712 10.787C13.904 10.979 14 11.2167 14 11.5C14 11.7833 13.904 12.0207 13.712 12.212C13.5207 12.404 13.2833 12.5 13 12.5ZM2 20.5C1.45 20.5 0.979 20.3043 0.587 19.913C0.195667 19.521 0 19.05 0 18.5V4.5C0 3.95 0.195667 3.47933 0.587 3.088C0.979 2.696 1.45 2.5 2 2.5H3V0.5H5V2.5H13V0.5H15V2.5H16C16.55 2.5 17.021 2.696 17.413 3.088C17.8043 3.47933 18 3.95 18 4.5V18.5C18 19.05 17.8043 19.521 17.413 19.913C17.021 20.3043 16.55 20.5 16 20.5H2ZM2 18.5H16V8.5H2V18.5Z" fill="#858585"/>
  39.                                            </svg>
  40.                                            {{ article.createdAt|date('j') }} {{ translation|trans }}, {{ article.createdAt|date('Y') }}
  41.                                        </div>
  42.                                        <h3>
  43.                                            <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}" data-disqus-identifier="{{ url('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}">
  44.                                            {{article.translations['fr_FR'].title}}
  45.                                              </a>
  46.                                        </h3>
  47.                                        <p>
  48.                                            {% if article.content|striptags|length > 200 %}
  49.                                                {{ article.content|striptags|slice(0, 200)|raw }}...
  50.                                            {% else %}
  51.                                                {{ article.content|striptags|raw }}
  52.                                            {% endif %}
  53.                                        </p>
  54.                                    </div>
  55.                                </div>
  56.                            </div>
  57.                            {% endif %}
  58.                        {% endfor %}
  59.                    </div>
  60.                     <div class="column-right-article">
  61.                         {% for article in resources %}
  62.                             {% set month =  article.createdAt|date('F') %}
  63.                             {% set translation = 'sylius.ui.' ~ month %}
  64.                                 {% if loop.index <= 5 and loop.index0 != 0 %}
  65.                                     <div class="other-article">
  66.                                         <div class="item">
  67.                                             {% if disqus_shortname() %}
  68.                                                 <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}" data-disqus-identifier="{{ url('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}">
  69.                                                     {% if article.images|length > 0 %}
  70.                                                         <div class="image">
  71.                                                             <img src="{{ article.images[0].path|imagine_filter(filter|default('sylius_large')) }}" {{ sylius_test_html_attribute('main-image') }} alt="" class="ui bordered image" />
  72.                                                         </div>
  73.                                                     {% endif %}
  74.                                                 </a>
  75.                                             {% else %}
  76.                                                 <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}">
  77.                                                     {% if article.images|length > 0 %}
  78.                                                         <div class="image">
  79.                                                             <img src="{{ article.images[0].path|imagine_filter(filter|default('sylius_large')) }}" {{ sylius_test_html_attribute('main-image') }} alt="" class="ui bordered image" />
  80.                                                         </div>
  81.                                                     {% endif %}
  82.                                                 </a>
  83.                                             {% endif %}
  84.                                             <div class="description">
  85.                                                 <div class="desc-date">
  86.                                                     <svg width="18" height="21" viewBox="0 0 18 21" fill="none" xmlns="http://www.w3.org/2000/svg">
  87.                                                         <path d="M5 12.5C4.71667 12.5 4.479 12.404 4.287 12.212C4.09567 12.0207 4 11.7833 4 11.5C4 11.2167 4.09567 10.979 4.287 10.787C4.479 10.5957 4.71667 10.5 5 10.5C5.28333 10.5 5.521 10.5957 5.713 10.787C5.90433 10.979 6 11.2167 6 11.5C6 11.7833 5.90433 12.0207 5.713 12.212C5.521 12.404 5.28333 12.5 5 12.5ZM9 12.5C8.71667 12.5 8.47933 12.404 8.288 12.212C8.096 12.0207 8 11.7833 8 11.5C8 11.2167 8.096 10.979 8.288 10.787C8.47933 10.5957 8.71667 10.5 9 10.5C9.28333 10.5 9.521 10.5957 9.713 10.787C9.90433 10.979 10 11.2167 10 11.5C10 11.7833 9.90433 12.0207 9.713 12.212C9.521 12.404 9.28333 12.5 9 12.5ZM13 12.5C12.7167 12.5 12.4793 12.404 12.288 12.212C12.096 12.0207 12 11.7833 12 11.5C12 11.2167 12.096 10.979 12.288 10.787C12.4793 10.5957 12.7167 10.5 13 10.5C13.2833 10.5 13.5207 10.5957 13.712 10.787C13.904 10.979 14 11.2167 14 11.5C14 11.7833 13.904 12.0207 13.712 12.212C13.5207 12.404 13.2833 12.5 13 12.5ZM2 20.5C1.45 20.5 0.979 20.3043 0.587 19.913C0.195667 19.521 0 19.05 0 18.5V4.5C0 3.95 0.195667 3.47933 0.587 3.088C0.979 2.696 1.45 2.5 2 2.5H3V0.5H5V2.5H13V0.5H15V2.5H16C16.55 2.5 17.021 2.696 17.413 3.088C17.8043 3.47933 18 3.95 18 4.5V18.5C18 19.05 17.8043 19.521 17.413 19.913C17.021 20.3043 16.55 20.5 16 20.5H2ZM2 18.5H16V8.5H2V18.5Z" fill="#858585"/>
  88.                                                     </svg>
  89.                                                     {{ article.createdAt|date('j') }} {{ translation|trans }}, {{ article.createdAt|date('Y') }}
  90.                                                 </div>
  91.                                                 <h3>
  92.                                                     <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}" data-disqus-identifier="{{ url('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}">
  93.                                                         {{ article.translations['fr_FR'].title }}
  94.                                                     </a>
  95.                                                 </h3>
  96.                                             </div>
  97.                                         </div>
  98.                                     </div>
  99.                                 {% endif %}
  100.                         {% endfor %}
  101.                     </div>
  102.                 </div>
  103.             {% else %}
  104.                 {{ messages.info('sylius.ui.no_results_to_display') }}
  105.             {% endif %}
  106.                 <div class="ui stackable two column grid" id="last-item-article-responsive">
  107.                     {% if resources[1] is defined %}
  108.                         <div class="item">
  109.                             <div class="content">
  110.                                 <a class="header" href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : resources[1].slug}) }}">
  111.                                     {% if resources[1].images|length > 0 %}
  112.                                         <div class="image">
  113.                                             <img src="{{ resources[1].images[0].path|imagine_filter(filter|default('sylius_large')) }}" {{ sylius_test_html_attribute('main-image') }} alt="" class="ui bordered image" />
  114.                                         </div>
  115.                                     {% endif %}
  116.                                 </a>
  117.                                 <div class="description">
  118.                                     {% set month =  resources[1].createdAt|date('F') %}
  119.                                     {% set translation = 'sylius.ui.' ~ month %}
  120.                                     <div class="desc-date">
  121.                                         <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
  122.                                             <path d="M7 15C6.64583 15 6.34875 14.88 6.10875 14.64C5.86958 14.4008 5.75 14.1042 5.75 13.75C5.75 13.3958 5.86958 13.0988 6.10875 12.8588C6.34875 12.6196 6.64583 12.5 7 12.5C7.35417 12.5 7.65125 12.6196 7.89125 12.8588C8.13042 13.0988 8.25 13.3958 8.25 13.75C8.25 14.1042 8.13042 14.4008 7.89125 14.64C7.65125 14.88 7.35417 15 7 15ZM12 15C11.6458 15 11.3492 14.88 11.11 14.64C10.87 14.4008 10.75 14.1042 10.75 13.75C10.75 13.3958 10.87 13.0988 11.11 12.8588C11.3492 12.6196 11.6458 12.5 12 12.5C12.3542 12.5 12.6513 12.6196 12.8913 12.8588C13.1304 13.0988 13.25 13.3958 13.25 13.75C13.25 14.1042 13.1304 14.4008 12.8913 14.64C12.6513 14.88 12.3542 15 12 15ZM17 15C16.6458 15 16.3492 14.88 16.11 14.64C15.87 14.4008 15.75 14.1042 15.75 13.75C15.75 13.3958 15.87 13.0988 16.11 12.8588C16.3492 12.6196 16.6458 12.5 17 12.5C17.3542 12.5 17.6508 12.6196 17.89 12.8588C18.13 13.0988 18.25 13.3958 18.25 13.75C18.25 14.1042 18.13 14.4008 17.89 14.64C17.6508 14.88 17.3542 15 17 15ZM3.25 25C2.5625 25 1.97375 24.7554 1.48375 24.2663C0.994583 23.7763 0.75 23.1875 0.75 22.5V5C0.75 4.3125 0.994583 3.72417 1.48375 3.235C1.97375 2.745 2.5625 2.5 3.25 2.5H4.5V0H7V2.5H17V0H19.5V2.5H20.75C21.4375 2.5 22.0263 2.745 22.5163 3.235C23.0054 3.72417 23.25 4.3125 23.25 5V22.5C23.25 23.1875 23.0054 23.7763 22.5163 24.2663C22.0263 24.7554 21.4375 25 20.75 25H3.25ZM3.25 22.5H20.75V10H3.25V22.5Z" fill="#858585"/>
  123.                                         </svg>
  124.                                         {{ resources[1].createdAt|date('j') }} {{ translation|trans }}, {{ resources[1].createdAt|date('Y') }}
  125.                                         <style>
  126.                                             .description .desc-date svg {
  127.                                                 color: #E35E31;
  128.                                             }
  129.                                         </style>
  130.                                     </div>
  131.                                     <h3>
  132.                                         <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : resources[1].slug}) }}" data-disqus-identifier="{{ url('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : resources[1].slug}) }}">
  133.                                             {{ resources[1].translations['fr_FR'].title }}
  134.                                         </a>
  135.                                     </h3>
  136.                                     <p>
  137.                                         {% if resources[1].content|striptags|length > 200 %}
  138.                                             {{ resources[1].content|striptags|slice(0, 200)|raw }}...
  139.                                         {% else %}
  140.                                             {{ resources[1].content|striptags|raw }}
  141.                                         {% endif %}
  142.                                     </p>
  143.                                 </div>
  144.                             </div>
  145.                         </div>
  146.                     {% endif %}
  147.                     {% if resources[2] is defined %}
  148.                         <div class="item">
  149.                             <div class="content">
  150.                                 <a class="header" href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : resources[2].slug}) }}">
  151.                                     {% if resources[2].images|length > 0 %}
  152.                                         <div class="image">
  153.                                             <img src="{{ resources[2].images[0].path|imagine_filter(filter|default('sylius_large')) }}" {{ sylius_test_html_attribute('main-image') }} alt="" class="ui bordered image" />
  154.                                         </div>
  155.                                     {% endif %}
  156.                                 </a>
  157.                                 <div class="description">
  158.                                     {% set month =  resources[2].createdAt|date('F') %}
  159.                                     {% set translation = 'sylius.ui.' ~ month %}
  160.                                     <div class="desc-date">
  161.                                         <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
  162.                                             <path d="M7 15C6.64583 15 6.34875 14.88 6.10875 14.64C5.86958 14.4008 5.75 14.1042 5.75 13.75C5.75 13.3958 5.86958 13.0988 6.10875 12.8588C6.34875 12.6196 6.64583 12.5 7 12.5C7.35417 12.5 7.65125 12.6196 7.89125 12.8588C8.13042 13.0988 8.25 13.3958 8.25 13.75C8.25 14.1042 8.13042 14.4008 7.89125 14.64C7.65125 14.88 7.35417 15 7 15ZM12 15C11.6458 15 11.3492 14.88 11.11 14.64C10.87 14.4008 10.75 14.1042 10.75 13.75C10.75 13.3958 10.87 13.0988 11.11 12.8588C11.3492 12.6196 11.6458 12.5 12 12.5C12.3542 12.5 12.6513 12.6196 12.8913 12.8588C13.1304 13.0988 13.25 13.3958 13.25 13.75C13.25 14.1042 13.1304 14.4008 12.8913 14.64C12.6513 14.88 12.3542 15 12 15ZM17 15C16.6458 15 16.3492 14.88 16.11 14.64C15.87 14.4008 15.75 14.1042 15.75 13.75C15.75 13.3958 15.87 13.0988 16.11 12.8588C16.3492 12.6196 16.6458 12.5 17 12.5C17.3542 12.5 17.6508 12.6196 17.89 12.8588C18.13 13.0988 18.25 13.3958 18.25 13.75C18.25 14.1042 18.13 14.4008 17.89 14.64C17.6508 14.88 17.3542 15 17 15ZM3.25 25C2.5625 25 1.97375 24.7554 1.48375 24.2663C0.994583 23.7763 0.75 23.1875 0.75 22.5V5C0.75 4.3125 0.994583 3.72417 1.48375 3.235C1.97375 2.745 2.5625 2.5 3.25 2.5H4.5V0H7V2.5H17V0H19.5V2.5H20.75C21.4375 2.5 22.0263 2.745 22.5163 3.235C23.0054 3.72417 23.25 4.3125 23.25 5V22.5C23.25 23.1875 23.0054 23.7763 22.5163 24.2663C22.0263 24.7554 21.4375 25 20.75 25H3.25ZM3.25 22.5H20.75V10H3.25V22.5Z" fill="#858585"/>
  163.                                         </svg>
  164.                                         {{ resources[2].createdAt|date('j') }} {{ translation|trans }}, {{ resources[2].createdAt|date('Y') }}
  165.                                         <style>
  166.                                             .description .desc-date svg {
  167.                                                 color: #E35E31;
  168.                                             }
  169.                                         </style>
  170.                                     </div>
  171.                                     <h3>
  172.                                         <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : resources[2].slug}) }}" data-disqus-identifier="{{ url('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : resources[2].slug}) }}">
  173.                                             {{ resources[2].translations['fr_FR'].title }}
  174.                                         </a>
  175.                                     </h3>
  176.                                     <p>
  177.                                         {% if resources[2].content|striptags|length > 200 %}
  178.                                             {{ resources[2].content|striptags|slice(0, 200)|raw }}...
  179.                                         {% else %}
  180.                                             {{ resources[2].content|striptags|raw }}
  181.                                         {% endif %}
  182.                                     </p>
  183.                                 </div>
  184.                             </div>
  185.                         </div>
  186.                     {% endif %}
  187.                 </div>
  188.                 <div class="sixteen wide mobile four wide computer column" id="last-item-article-destock">
  189.                     {% if resources|length > 0 %}
  190.                         <div class="latest-items">
  191.                             {% for article in resources %}
  192.                                 {% if loop.index > 5 %}
  193.                                 <div class="item">
  194.                                     <div class="content">
  195.                                         <a class="header" href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}">
  196.                                             {% if article.images|length > 0 %}
  197.                                                 <div class="image">
  198.                                                     <img src="{{ article.images[0].path|imagine_filter(filter|default('sylius_large')) }}" {{ sylius_test_html_attribute('main-image') }} alt="" class="ui bordered image" />
  199.                                                 </div>
  200.                                             {% endif %}
  201.                                         </a>
  202.                                         <div class="description">
  203.                                             {% set month =  article.createdAt|date('F') %}
  204.                                             {% set translation = 'sylius.ui.' ~ month %}
  205.                                             <div class="desc-date">
  206.                                                 <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
  207.                                                     <path d="M7 15C6.64583 15 6.34875 14.88 6.10875 14.64C5.86958 14.4008 5.75 14.1042 5.75 13.75C5.75 13.3958 5.86958 13.0988 6.10875 12.8588C6.34875 12.6196 6.64583 12.5 7 12.5C7.35417 12.5 7.65125 12.6196 7.89125 12.8588C8.13042 13.0988 8.25 13.3958 8.25 13.75C8.25 14.1042 8.13042 14.4008 7.89125 14.64C7.65125 14.88 7.35417 15 7 15ZM12 15C11.6458 15 11.3492 14.88 11.11 14.64C10.87 14.4008 10.75 14.1042 10.75 13.75C10.75 13.3958 10.87 13.0988 11.11 12.8588C11.3492 12.6196 11.6458 12.5 12 12.5C12.3542 12.5 12.6513 12.6196 12.8913 12.8588C13.1304 13.0988 13.25 13.3958 13.25 13.75C13.25 14.1042 13.1304 14.4008 12.8913 14.64C12.6513 14.88 12.3542 15 12 15ZM17 15C16.6458 15 16.3492 14.88 16.11 14.64C15.87 14.4008 15.75 14.1042 15.75 13.75C15.75 13.3958 15.87 13.0988 16.11 12.8588C16.3492 12.6196 16.6458 12.5 17 12.5C17.3542 12.5 17.6508 12.6196 17.89 12.8588C18.13 13.0988 18.25 13.3958 18.25 13.75C18.25 14.1042 18.13 14.4008 17.89 14.64C17.6508 14.88 17.3542 15 17 15ZM3.25 25C2.5625 25 1.97375 24.7554 1.48375 24.2663C0.994583 23.7763 0.75 23.1875 0.75 22.5V5C0.75 4.3125 0.994583 3.72417 1.48375 3.235C1.97375 2.745 2.5625 2.5 3.25 2.5H4.5V0H7V2.5H17V0H19.5V2.5H20.75C21.4375 2.5 22.0263 2.745 22.5163 3.235C23.0054 3.72417 23.25 4.3125 23.25 5V22.5C23.25 23.1875 23.0054 23.7763 22.5163 24.2663C22.0263 24.7554 21.4375 25 20.75 25H3.25ZM3.25 22.5H20.75V10H3.25V22.5Z" fill="#858585"/>
  208.                                                 </svg>
  209.                                                 {{ article.createdAt|date('j') }} {{ translation|trans }}, {{ article.createdAt|date('Y') }}
  210.                                                 <style>
  211.                                                     .description .desc-date svg {
  212.                                                         color: #E35E31;
  213.                                                     }
  214.                                                 </style>
  215.                                             </div>
  216.                                             <h3>
  217.                                                 <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}" data-disqus-identifier="{{ url('odiseo_sylius_blog_plugin_shop_article_show', {'slug' : article.slug}) }}">
  218.                                                     {{ article.translations['fr_FR'].title }}
  219.                                                 </a>
  220.                                             </h3>
  221.                                             <p>
  222.                                                 {% if article.content|striptags|length > 200 %}
  223.                                                     {{ article.content|striptags|slice(0, 200)|raw }}...
  224.                                                 {% else %}
  225.                                                     {{ article.content|striptags|raw }}
  226.                                                 {% endif %}
  227.                                             </p>
  228.                                         </div>
  229.                                     </div>
  230.                                 </div>
  231.                                 {% endif %}
  232.                             {% endfor %}
  233.                         </div>
  234.                     {% endif %}
  235.                 </div>
  236.             </div>
  237.         {% endblock %}
  238.         {% if disqus_shortname() %}
  239.             {% block blog_disqus %}
  240.                 {% include '@OdiseoSyliusBlogPlugin/Shop/Article/_disqus.html.twig' %}
  241.             {% endblock %}
  242.         {% endif %}
  243.     </div>
  244.     <style>
  245.         /*.desc-date{*/
  246.         /*    display: inline-flex;*/
  247.         /*    gap: 1rem;*/
  248.         /*    align-items: flex-end;*/
  249.         /*}*/
  250.         /*!*#main-container{*!*/
  251.         /*!*    margin-top: 7.5rem ;*!*/
  252.         /*!*}*!*/
  253.         /*.container-blog-article{*/
  254.         /*    display: grid;*/
  255.         /*    grid-template-columns: 1fr 1fr;*/
  256.         /*    gap: 2rem;*/
  257.         /*    padding-bottom: 4rem;*/
  258.         /*}*/
  259.         /*.container-blog{*/
  260.         /*    padding-top: 2rem;*/
  261.         /*}*/
  262.         /*.description > *{*/
  263.         /*    margin-top: 1rem !important;*/
  264.         /*}*/
  265.         /*.description h3 {*/
  266.         /*    margin: 0;*/
  267.         /*    font-size: 1.75rem;*/
  268.         /*}*/
  269.         /*.description h3 a {*/
  270.         /*    color: #000;*/
  271.         /*}*/
  272.         /*.first-article .image{*/
  273.         /*    width: 100%;*/
  274.         /*    height: auto;*/
  275.         /*}*/
  276.         /*.column-left-article{*/
  277.         /*!*    first column*!*/
  278.         /*    grid-column: span 1;*/
  279.         /*}*/
  280.         /*.column-right-article{*/
  281.         /*    display: flex;*/
  282.         /*    flex-direction: column;*/
  283.         /*    !*gap: 1rem;*!*/
  284.         /*}*/
  285.         /*.column-right-article .other-article:first-of-type .item{*/
  286.         /*    padding: 0 0 0.5rem 0 ;*/
  287.         /*}*/
  288.         /*.column-right-article .other-article:last-of-type .item{*/
  289.         /*    padding: 0.5rem 0 0 0 ;*/
  290.         /*    border: 0;*/
  291.         /*}*/
  292.         /*.other-article .item{*/
  293.         /*    display: flex;*/
  294.         /*    flex-direction: row-reverse;*/
  295.         /*    align-items: center;*/
  296.         /*    justify-content: space-between;*/
  297.         /*    gap: 2rem;*/
  298.         /*    padding: 0.5rem 0;*/
  299.         /*    border-bottom: 1px solid #D9D9D9;*/
  300.         /*}*/
  301.         /*.other-article .item .image img{*/
  302.         /*    width: 200px !important;*/
  303.         /*    max-width: none !important;*/
  304.         /*    height: auto;*/
  305.         /*}*/
  306.         /*.other-article .description{*/
  307.         /*    width: 100%;*/
  308.         /*}*/
  309.     </style>
  310. {% endblock %}