Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
<a href="/users/{{ page.author.uid }}">{{ page.author }}</a>
{% end %}
- {% if page.previous_revision %}
- <a href="{{ page.url }}?action=diff&a={{ page.previous_revision.timestamp.isoformat() }}&b={{ page.timestamp.isoformat() }}">
- <span class="fas fa-exchange-alt"></span>
- </a>
- {% end %}
+ {% if show_changes %}
+ {% if page.changes %}
+ • {{ page.changes }}
+ {% end %}
- {% if show_changes and page.changes %}
- • {{ page.changes }}
+ {% if page.previous_revision %}
+ <a href="{{ page.url }}?action=diff&a={{ page.previous_revision.timestamp.isoformat() }}&b={{ page.timestamp.isoformat() }}">
+ <span class="fas fa-exchange-alt ml-1"></span>
+ </a>
+ {% end %}
{% end %}
</p>
{% end %}