Skip to content

Commit

Permalink
only show co_author if set
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusIO committed May 6, 2024
1 parent 3a4c9cc commit 8c517c4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,11 @@ <h1 class="header-post-title">{{ page.title }}</h1>
<div class="mb-4">
{% include shared/_post_author.html %}
</div>
<div class="mb-4">
{% include shared/_post_author.html author=co_author %}
</div>
{% if page.co_author %}
<div class="mb-4">
{% include shared/_post_author.html author=co_author %}
</div>
{% endif %}
<div class="mb-2 text-end">
<a class="btn btn-sm btn-primary" href="{{site.repository_url}}/edit/master/{{page.path}}" target="_blank">
Diesen Artikel auf GitHub verbessern
Expand Down

0 comments on commit 8c517c4

Please sign in to comment.