diff --git a/lib/kmxgit_web/templates/repository/show_git_content.html.heex b/lib/kmxgit_web/templates/repository/show_git_content.html.heex
index a05da07..92499d0 100644
--- a/lib/kmxgit_web/templates/repository/show_git_content.html.heex
+++ b/lib/kmxgit_web/templates/repository/show_git_content.html.heex
@@ -15,14 +15,14 @@
<h3><%= gettext "Source" %></h3>
<% end %>
<%= render("show_git_content_text.html", assigns) %>
+ <%= render("download_button.html", assigns) %>
<% end %>
<%= if String.match?(@git.content_type, ~r(^image/)) do %>
<img src={"data:#{@git.content_type};base64,#{Base.encode64(@git.content)}"}/>
+ <%= render("download_button.html", assigns) %>
<% end %>
-<%= render("download_button.html", assigns) %>
-
<%= if Mix.env == :dev do %>
<p>
<ul class="list-group">