diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index d8220c53fa..1e157c5664 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -141,9 +141,9 @@
{{svg "octicon-file-zip" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.download_zip"}}
{{svg "octicon-file-zip" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.download_tar"}}
{{svg "octicon-package" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.download_bundle"}}
- {{if .CitiationExist}}
- {{svg "octicon-cross-reference" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.cite_this_repo"}}
- {{end}}
+ {{end}}
+ {{if .CitiationExist}}
+ {{svg "octicon-cross-reference" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.cite_this_repo"}}
{{end}}
{{range .OpenWithEditorApps}}
{{.IconHTML}}{{ctx.Locale.Tr "repo.open_with_editor" .DisplayName}}