1212
This commit is contained in:
1 parent
b71a50d048
commit
0a794a7a47
491 files changed
+2492
-29486
No files matched your search
@@ -0,0 +1,10 @@
|
||||
{{ $url := .Destination }}
|
||||
<a
|
||||
{{ if or (in $url "www.usj.cc") (strings.HasPrefix $url "/") }}
|
||||
href="{{ $url }}"
|
||||
{{ else }}
|
||||
href="/tiaozhuan?target={{ $url | base64Encode }}"
|
||||
{{ end }}
|
||||
{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}
|
||||
>
|
||||
{{ .Text | safeHTML }}</a>
|
||||
Reference in new issue
Block a user