diff --git a/cmd/dcrdata/views/block.tmpl b/cmd/dcrdata/views/block.tmpl
index 817d042db..d7f53c7b3 100644
--- a/cmd/dcrdata/views/block.tmpl
+++ b/cmd/dcrdata/views/block.tmpl
@@ -46,7 +46,11 @@
{{- else }}
mempool |
{{- end}}
+ {{if .MainChain}}
api
+ {{- else}}
+ api
+ {{- end}}