@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
7 lines (6 loc) • 353 B
HTML
{{ $destination := .Destination }}
{{ if strings.HasPrefix $destination "http" }}
<a href="{{ $destination | safeURL }}"{{ with .Title }} title="{{ .Title }}"{{ end }} target="_blank" rel="noopener noreferrer">{{ .Text | safeHTML }}</a>
{{ else }}
<a href="{{ (.Page.GetPage .Destination).RelPermalink | safeURL }}">{{ .Text | safeHTML }}</a>
{{ end }}