add content link shortcode

Signed-off-by: liuboaibc <kukudehero@gmail.com>
This commit is contained in:
liuboaibc 2021-05-13 15:27:43 +08:00
parent 96616d59c3
commit 2f70a4a381

View File

@ -0,0 +1 @@
<a href="{{ .Get 0 | safeURL | relLangURL }}"{{ if strings.HasPrefix (.Get 0) "http" }} target="_blank" rel="noopener noreferrer"{{ end }}>{{ .Get 1 }}</a>