Skip to content

Commit

Permalink
cmd/dcrdata/views: add onion link to html header
Browse files Browse the repository at this point in the history
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
  • Loading branch information
ukane-philemon committed Jun 4, 2024
1 parent a3c03f6 commit d6403c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/dcrdata/views/extras.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<meta property="og:image" content="{{ .Data.BaseURL }}/images/dcrdata400x348.png" />
{{- end}}

{{- if ne .Data.Links.OnionURL "" }}
<meta http-equiv="onion-location" content="http://{{.Data.Links.OnionURL}}" />
{{ end }}

<!-- Custom favicon -->
<!-- Apple PWA -->
<link rel="apple-touch-icon" sizes="57x57" href="/images/favicon/apple-touch-icon-57x57.png?v=yHh3NA">
Expand Down

0 comments on commit d6403c1

Please sign in to comment.