Merge commit '0a23baa6a90901f772c234107c4f12c16c76f4aa'

This commit is contained in:
Bjørn Erik Pedersen
2018-03-20 21:11:45 +01:00
17 changed files with 40 additions and 34 deletions

View File

@@ -2,8 +2,8 @@
{{ if eq (substr . 0 1) "@" }}
<a href="//github.com/{{ substr . 1 }}">{{ . }}</a>
{{ else if eq (substr . 0 2) "0x" }}
<a href="//github.com/spf13/hugo/commit/{{ substr . 2 }}">{{ substr . 2 6 }}</a>
<a href="//github.com/gohugoio/hugo/commit/{{ substr . 2 }}">{{ substr . 2 6 }}</a>
{{ else }}
<a href="//github.com/spf13/hugo/issues/{{ . }}">#{{ . }}</a>
<a href="//github.com/gohugoio/hugo/issues/{{ . }}">#{{ . }}</a>
{{ end }}
{{ end }}
{{ end }}