shithub: hugo

ref: 06e90b1237cc29fa17be96d13bf9d0428e65e2a8
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 }}