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;
line-height: 1.4em;
}
.authors {
color: currentColor;
font-size: $size-5;
line-height: 1em;
}
.created-date {
color: currentColor;
font-size: $size-5;
line-height: 1em;
}
.title + .subtitle, .created-date {
.title + .subtitle {
margin-top: 1em;
}
}

View file

@ -106,16 +106,15 @@
</div>
{% endif %}
</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>
</section>
{% elseif content.field_authors is not empty %}
{# TODO fix this this looks wrong? #}
<span class="hidden"><a href="{{ url }}" class="u-url">{{ date }}</a><a class="u-author" href="/"></a></span>
{% endif %}
{% if content.field_authors is not empty %}
<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 %}
<div class="e-content">

View file

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