diff --git a/opentech/public/news/templates/news/news_page.html b/opentech/public/news/templates/news/news_page.html index 8960f49ec9a7e051fc9b1a75d7b84820f8501cb5..a611226678715bb8e22bd77123a7b23e1174b74b 100644 --- a/opentech/public/news/templates/news/news_page.html +++ b/opentech/public/news/templates/news/news_page.html @@ -4,12 +4,16 @@ {% block content %} <div class="wrapper wrapper--small"> - - {% for author in page.authors.all %} - <p><a href="{% pageurl author.author %}">{{ author.author }}</a><p> - {% endfor %} - <p>{{ page.introduction }}</p> + <h5 class="heading heading--author"> + {{ page.display_date|date:"D, Y-m-d H:i" }} + {% if page.authors.all %} + | By: + {% for author in page.authors.all %} + <a href="{% pageurl author.author %}">{{ author.author }}</a> + {% endfor %} + {% endif %} + </h5> <section class="main-body"> {% include_block page.body %} diff --git a/opentech/static_src/src/sass/components/_heading.scss b/opentech/static_src/src/sass/components/_heading.scss index 7c3fa5fc47b7f494e1bd16f135956e577005f2ce..8ee3e889565dd46d06ad4f8da92d2c0eb51d88d8 100644 --- a/opentech/static_src/src/sass/components/_heading.scss +++ b/opentech/static_src/src/sass/components/_heading.scss @@ -5,4 +5,8 @@ font-weight: $weight--light; border-bottom: 1px solid $color--mid-grey; } + + &--author { + margin: 2rem 0 0; + } }