{{- /* GitLab user. @param {string} (positional parameter 0) User name on GitLab. @returns {template.HTML} @examples {{< gl-user "2363093" >}} */ -}} {{- if (.Get 0) -}} {{ $users := (split (.Get 0) "|") }} {{ $api := (site.Params.api) }} {{ $ts := (now.Unix) }} {{ $headers := (dict "User-Agent" ($api.user_agent) "Authorization" (printf "Bearer %s" (($api.gitlab.token) | base64Decode)) ) }}
{{ (($user.bio) | plainify) }}
{{ end }}