templates/templates/models/news-item-no-image.html.twig line 1

Open in your IDE?
  1. {% extends "layouts/master.html.twig" %}
  2. {% block bodyClass %}tpl-news-item has-not-media{% endblock %}
  3. {% block siteHeader %}
  4.     {% include 'organisms/site-header.html.twig' %}
  5. {% endblock %}
  6. {% block pageHeader %}
  7.     {% include 'molecules/page-header.html.twig' with {
  8.         breadcrumb: [
  9.             { path: path('journal_frontpage'), title: 'Xornal' }
  10.         ]
  11.     } %}
  12. {% endblock %}
  13. {% block pageContent %}
  14.     <article class="news-item-wrapper">
  15.         {% include 'molecules/tags-list.html.twig' %}
  16.         <p class="at-title is-2 is-light is-pretitle">Dentro das xornadas de acción social</p>
  17.         <h1 class="at-title is-1 is-light">Un titular para unha nova ou entrevista de varias liñas de lonxitude</h1>
  18.         <div class="news-item-content-wrapper">
  19.             <div class="news-item-header">
  20.                 <div class="news-item-intro">
  21.                     <div class="at-lead-text">
  22.                         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris mauris, ultricies id egestas ac, consectetur a tortor. Vestibulum ac convallis lectus. Proin in nibh imperdiet, iaculis dui in, aliquet augue.</p>
  23.                     </div>
  24.                     {% include 'molecules/social-button-list.html.twig' %}
  25.                 </div>
  26.             </div>
  27.             <div class="news-item-content">
  28.                 <div class="news-item-body-wrapper">
  29.                     <div class="news-item-body">
  30.                         <p class="news-item-campus">Lugo, Santiago</p>
  31.                         <time datetime="2019-06-03" class="news-item-datetime">Luns 3 de xuño de 2019</time>
  32.                         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris mauris, ultricies id egestas ac, consectetur a tortor. Vestibulum ac convallis lectus. Proin in nibh imperdiet, iaculis dui in, aliquet augue.</p>
  33.                         <figure class="at-image">
  34.                             <img src="https://picsum.photos/900/507" alt="">
  35.                         </figure>
  36.                         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris mauris, ultricies id egestas ac, consectetur a tortor. Vestibulum ac convallis lectus. Proin in nibh imperdiet, iaculis dui in, aliquet augue.</p>
  37.                         <usc-carousel>
  38.                             <usc-carousel-item>
  39.                                 <figure class="at-image">
  40.                                     <img src="https://picsum.photos/800/507" alt="">
  41.                                     <figcaption class="image-caption">Descrición da imaxe</figcaption>
  42.                                 </figure>
  43.                             </usc-carousel-item>
  44.                             <usc-carousel-item>
  45.                                 <figure class="at-image">
  46.                                     <img src="https://picsum.photos/800/507" alt="">
  47.                                     <figcaption class="image-caption">Descrición da imaxe</figcaption>
  48.                                 </figure>
  49.                             </usc-carousel-item>
  50.                             <usc-carousel-item>
  51.                                 <figure class="at-image">
  52.                                     <img src="https://picsum.photos/800/507" alt="">
  53.                                     <figcaption class="image-caption">Descrición da imaxe</figcaption>
  54.                                 </figure>
  55.                             </usc-carousel-item>
  56.                             <usc-carousel-item>
  57.                                 <figure class="at-image">
  58.                                     <img src="https://picsum.photos/800/507" alt="">
  59.                                     <figcaption class="image-caption">Descrición da imaxe</figcaption>
  60.                                 </figure>
  61.                             </usc-carousel-item>
  62.                         </usc-carousel>
  63.                         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris mauris, ultricies id egestas ac, consectetur a tortor. Vestibulum ac convallis lectus. Proin in nibh imperdiet, iaculis dui in, aliquet augue.</p>
  64.                     </div>
  65.                     <div class="news-item-author">
  66.                         {% include 'molecules/authors/summary.html.twig' %}
  67.                     </div>
  68.                 </div>
  69.             </div>
  70.         </div>
  71.     </article>
  72.     <section class="org-tier">
  73.         <div class="tier-header">
  74.             <h2 class="tier-title">Novas relacionadas</h2>
  75.         </div>
  76.         <div class="tier-content">
  77.             <div class="org-modules-container">
  78.                 {% include 'molecules/news/l.html.twig' %}
  79.                 {% include 'molecules/news/m.html.twig' with { hasImage: true } %}
  80.                 {% include 'molecules/news/m.html.twig' with { hasImage: true } %}
  81.             </div>
  82.         </div>
  83.     </section>
  84. {% endblock %}
  85. {% block siteFooter %}
  86.     {% include 'organisms/site-footer.html.twig' %}
  87. {% endblock %}