1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-22 20:31:31 +03:00

Update template (#204)

to fix tests
This commit is contained in:
Jens Krause 2017-09-10 14:37:48 +02:00
parent 7d6aa64d4b
commit 132e6c89de
No known key found for this signature in database
GPG Key ID: 3B2FAFBCEFA5906D

View File

@ -7,7 +7,7 @@ Required context:
* item.link
item.name
item.kind.hackageName (optional)
item.kind.contents (optional)
HTML
@ -21,7 +21,7 @@ HTML
{{/ item.link }}
{{! if the item is on Hackage, let's provide a link }}
{{# item.kind.hackageName }}
{{# item.kind.contents }}
{{ hackageLink = [|https://hackage.haskell.org/package/{{.}}|] }}
(<a href="{{hackageLink}}">Hackage</a>)
{{/ item.kind.hackageName }}
{{/ item.kind.contents }}