Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / profiles / demo_umami / themes / umami / templates / content / node.html.twig
index 56b20c3305dac0ba4bcf82aa47edc70cbf60a423..69c384b9fa9dc74055f4b987a44959a91c135eb8 100644 (file)
     <h1 class="page-title">
       {{ label }}
     </h1>
-    {% if display_submitted %}
-    <div{{ author_attributes.addClass('node__submitted') }}>
-      {% trans %}<span class="by-author">by {{ author_name }}</span> {{ created_date }}{% endtrans %}
-      {{ metadata }}
-    </div>
-    {% endif %}
   </header>
   {% else %}
     <h2{{ title_attributes }}>
     <footer class="node__meta">
       {{ author_picture }}
       <div{{ author_attributes.addClass('node__submitted') }}>
-        {% trans %}Submitted by {{ author_name }} on {{ date }}{% endtrans %}
+        {% trans %}<span class="by-author">by {{ author_name }}</span> {{ created_date }}{% endtrans %}
         {{ metadata }}
       </div>
     </footer>