shithub: hugo

ref: 2e92f368907c51cfbb2d56c4519604543e2920f5
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 }}