github.com/shohhei1126/hugo@v0.42.2-0.20180623210752-3d5928889ad7/docs/themes/gohugoioTheme/layouts/shortcodes/gh.html (about) 1 {{ range .Params }} 2 {{ if eq (substr . 0 1) "@" }} 3 <a href="//github.com/{{ substr . 1 }}">{{ . }}</a> 4 {{ else if eq (substr . 0 2) "0x" }} 5 <a href="//github.com/gohugoio/hugo/commit/{{ substr . 2 }}">{{ substr . 2 6 }}</a> 6 {{ else }} 7 <a href="//github.com/gohugoio/hugo/issues/{{ . }}">#{{ . }}</a> 8 {{ end }} 9 {{ end }}