shithub: hugo

ref: df85e5a0aa03053f7ddfe6ebf8605e52024b1f15
dir: /docs/layouts/shortcodes/gh.html/

View raw version
{{ range .Params }}
{{   if eq (substr . 0 1) "@" }}
<a href="//github.com/{{ substr . 1 }}">{{ . }}</a>
{{   else }}
<a href="//github.com/spf13/hugo/issues/{{ . }}">#{{ . }}</a>
{{   end }}
{{ end }}