diff --git a/agaric/sass/agaric/_component.hero.scss b/agaric/sass/agaric/_component.hero.scss index be61a6f..e04f9c1 100644 --- a/agaric/sass/agaric/_component.hero.scss +++ b/agaric/sass/agaric/_component.hero.scss @@ -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; } } diff --git a/agaric/templates/layout/node--full.html.twig b/agaric/templates/layout/node--full.html.twig index 8f86e1b..76e3512 100644 --- a/agaric/templates/layout/node--full.html.twig +++ b/agaric/templates/layout/node--full.html.twig @@ -106,16 +106,15 @@ {% endif %} - {% if content.field_authors is not empty %} -

Written by {{ content.field_authors }}

-

Posted on

- {% endif %} -{% elseif content.field_authors is not empty %} -{# TODO fix this this looks wrong? #} - +{% endif %} +{% if content.field_authors is not empty %} +
+

{{ content.field_authors }}

+

Posted on

+
{% endif %}
diff --git a/agaric/templates/paragraph/paragraph--title.html.twig b/agaric/templates/paragraph/paragraph--title.html.twig index 2e4acf1..bb7c68b 100644 --- a/agaric/templates/paragraph/paragraph--title.html.twig +++ b/agaric/templates/paragraph/paragraph--title.html.twig @@ -78,12 +78,6 @@
{{ content.field_title }} {{ content.field_subtitle }} -
- {{ authors }} -
-
- Posted on {{ date }} -
{% else %}