From d6403c17391833fd06497eab11992e08216de396 Mon Sep 17 00:00:00 2001 From: Philemon Ukane Date: Tue, 4 Jun 2024 18:36:09 +0100 Subject: [PATCH] cmd/dcrdata/views: add onion link to html header Signed-off-by: Philemon Ukane --- cmd/dcrdata/views/extras.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/dcrdata/views/extras.tmpl b/cmd/dcrdata/views/extras.tmpl index c0f13c0dd..c5ae11b5e 100644 --- a/cmd/dcrdata/views/extras.tmpl +++ b/cmd/dcrdata/views/extras.tmpl @@ -22,6 +22,10 @@ {{- end}} + {{- if ne .Data.Links.OnionURL "" }} + + {{ end }} +