shithub: hugo

ref: e1af7cb9d06933f593661c498ed2f05a21286e87
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 }}