diff options
| author | roninro <liumy.f@foxmail.com> | 2022-10-18 11:55:08 +0800 |
|---|---|---|
| committer | roninro <liumy.f@foxmail.com> | 2022-10-18 11:55:08 +0800 |
| commit | 46225bf4336fe6e46a7566248330e2d3ce21061f (patch) | |
| tree | 296729fd4d4a0bd383ecc3d496309796c0cf643c /layouts/_default/_markup/render-link.html | |
| parent | 37aa60481eeeddcfa57561c376b6edb28215d005 (diff) | |
fix #3
Diffstat (limited to 'layouts/_default/_markup/render-link.html')
| -rw-r--r-- | layouts/_default/_markup/render-link.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html new file mode 100644 index 0000000..ecfef67 --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1 @@ +<a href="{{ .Destination | relURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a>
\ No newline at end of file |
