Skip to content

Commit 30a55c5

Browse files
committed
Add an author flag to the sidebar
This fixes a display issue when the author has a country set, but no city or region. Closes #2750
1 parent ba434b7 commit 30a55c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

root/author.tx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<li class="author-item">
2020
<i class="fas fa-map-marker-alt"></i>
2121
%% }
22+
<img src="/static/images/flag/[% $author.country %].png" alt="[% $author.country %] flag">
2223
[% $author.city %][% if $author.city && $author.region { %], [% } %][% $author.region %]
2324
</li>
2425
%% }

0 commit comments

Comments
 (0)