diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index f7c74c9aba..2c08fb02d5 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -135,9 +135,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}}