mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
6 lines
No EOL
167 B
Text
6 lines
No EOL
167 B
Text
{{ $parts := strings.Split (.Get 0) "." -}}
|
|
{{- with index site.Data.friends (index $parts 0) -}}
|
|
<a href="{{.site}}">{{.name}}</a>
|
|
{{- else -}}
|
|
{{ . }}
|
|
{{- end }} |