Add a number sign "#" before a GitHub issue number

to make it more readily recognizable.
This commit is contained in:
Anthony Fok 2015-12-02 13:11:24 -07:00
parent 6812229bb8
commit f363faadab
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ many users to contribute. This release represents over **377 contributions by
87 contributors** to the main Hugo repo and hundreds of improvements to the 87 contributors** to the main Hugo repo and hundreds of improvements to the
libraries Hugo uses. Hugo also launched a [new theme libraries Hugo uses. Hugo also launched a [new theme
showcase](http://themes.gohugo.io) and participated in showcase](http://themes.gohugo.io) and participated in
[hacktoberfest](https://hacktoberfest.digitalocean.com). [Hacktoberfest](https://hacktoberfest.digitalocean.com).
Hugo now has: Hugo now has:
@ -82,7 +82,7 @@ Huge thanks to all who participated in this release. A special thanks to
## New Template Features ## New Template Features
* All template engines: * All template engines:
* The new `dict` function that could be used to pass maps into a template.{{< gh 1463 >}} * The new `dict` function that could be used to pass maps into a template. {{< gh 1463 >}}
* The new `pluralize` and `singularize` template funcs. * The new `pluralize` and `singularize` template funcs.
* The new `base64Decode` and `base64Encode` template funcs. * The new `base64Decode` and `base64Encode` template funcs.
* The `sort` template func now accepts field/key chaining arguments and pointer values. {{< gh 1330 >}} * The `sort` template func now accepts field/key chaining arguments and pointer values. {{< gh 1330 >}}

View file

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