From 62bba7e7a6226bea29aabf12a7eb769cccc07953 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Mon, 8 Jan 2018 12:27:25 +0000 Subject: [PATCH] Update the template to include a link to the author --- opentech/news/templates/news/news_page.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opentech/news/templates/news/news_page.html b/opentech/news/templates/news/news_page.html index 1fe1d6b89..c51afac6c 100644 --- a/opentech/news/templates/news/news_page.html +++ b/opentech/news/templates/news/news_page.html @@ -5,6 +5,11 @@ <div class="wrapper wrapper--small"> <h1>{{ page.title }}</h1> + + {% for author in page.authors.all %} + <p><a href="{% pageurl author.author %}">{{ author.author }}</a><p> + {% endfor %} + <p>{{ page.introduction }}</p> <section class="main-body"> -- GitLab