mirror of
https://github.com/aelve/guide.git
synced 2024-12-22 20:31:31 +03:00
parent
7d6aa64d4b
commit
132e6c89de
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user