shithub: hugo

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