{{- /* GitHub repository. @param {string} (positional parameter 0) Repository name on GitHub. @returns {template.HTML} @examples {{< gh-repo "github/docs" >}} */ -}} {{- if (.Get 0) -}} {{ $repos := (split (.Get 0) "|") }} {{ $api := (site.Params.api) }} {{ $ts := (now.Unix) }} {{ $headers := (dict "User-Agent" ($api.user_agent) "Authorization" (printf "Bearer %s" (($api.github.token) | base64Decode)) ) }}
{{ (($repo.description) | plainify) }}
{{ end }}