Revert addition of authoring details from title paragraph

Ensure authoring details still display on every full node with author(s)
This commit is contained in:
Keegan Rankin 2023-08-30 13:28:34 -07:00
parent be59bfdb2c
commit 690653c952
3 changed files with 7 additions and 24 deletions

View file

@ -150,17 +150,7 @@
font-size: $size-5; font-size: $size-5;
line-height: 1.4em; line-height: 1.4em;
} }
.authors { .title + .subtitle {
color: currentColor;
font-size: $size-5;
line-height: 1em;
}
.created-date {
color: currentColor;
font-size: $size-5;
line-height: 1em;
}
.title + .subtitle, .created-date {
margin-top: 1em; margin-top: 1em;
} }
} }

View file

@ -106,16 +106,15 @@
</div> </div>
{% endif %} {% endif %}
</div> </div>
{% if content.field_authors is not empty %}
<p class="byline is-mono">Written by {{ content.field_authors }}</p>
<p class="byline is-mono">Posted on <time class="dt-published" datetime="{{ iso_datetime }}">{{ date }}</time></p>
{% endif %}
</div> </div>
</div> </div>
</section> </section>
{% elseif content.field_authors is not empty %} {% endif %}
{# TODO fix this this looks wrong? #} {% if content.field_authors is not empty %}
<span class="hidden"><a href="{{ url }}" class="u-url">{{ date }}</a><a class="u-author" href="/"></a></span> <div class="container">
<p class="byline is-mono">{{ content.field_authors }}</p>
<p class="byline is-mono">Posted on <time class="dt-published" datetime="{{ iso_datetime }}">{{ date }}</time></p>
</div>
{% endif %} {% endif %}
<div class="e-content"> <div class="e-content">

View file

@ -78,12 +78,6 @@
<div class="hero-body"> <div class="hero-body">
{{ content.field_title }} {{ content.field_title }}
{{ content.field_subtitle }} {{ content.field_subtitle }}
<div class="authors">
{{ authors }}
</div>
<div class="created-date">
Posted on {{ date }}
</div>
</div> </div>
</div> </div>
{% else %} {% else %}