diff --git a/shared/templates/styleguide2/includes/atoms/articles/header_author.html b/shared/templates/styleguide2/includes/atoms/articles/header_author.html index 593d68fa5e56d005733665afcece672ac6777e6f..70a2588e43ccb354b5a3c411b9e84d37b2544f21 100644 --- a/shared/templates/styleguide2/includes/atoms/articles/header_author.html +++ b/shared/templates/styleguide2/includes/atoms/articles/header_author.html @@ -1,12 +1,14 @@ -<div class="text-grey-185 mb-4 italic"> - Autor: <span rel="author"> - {% if page.author_page %} - <a - href="{{ page.author_page.url }}" - class="underline text-grey-100" - >{{ page.author_page.get_full_name }}</a> - {% else %} - {{ page.author }} - {% endif %} - </span> -</div> +{% if page.author_page or page.author %} + <div class="text-grey-185 mb-4 italic"> + Autor: <span rel="author"> + {% if page.author_page %} + <a + href="{{ page.author_page.url }}" + class="underline text-grey-100" + >{{ page.author_page.get_full_name }}</a> + {% elif page.author %} + {{ page.author }} + {% endif %} + </span> + </div> +{% endif %} \ No newline at end of file