mirror of
https://github.com/aelve/guide.git
synced 2024-12-23 04:42:24 +03:00
parent
7d6aa64d4b
commit
132e6c89de
@ -7,7 +7,7 @@ Required context:
|
|||||||
|
|
||||||
* item.link
|
* item.link
|
||||||
item.name
|
item.name
|
||||||
item.kind.hackageName (optional)
|
item.kind.contents (optional)
|
||||||
|
|
||||||
|
|
||||||
HTML
|
HTML
|
||||||
@ -21,7 +21,7 @@ HTML
|
|||||||
{{/ item.link }}
|
{{/ item.link }}
|
||||||
|
|
||||||
{{! if the item is on Hackage, let's provide a link }}
|
{{! if the item is on Hackage, let's provide a link }}
|
||||||
{{# item.kind.hackageName }}
|
{{# item.kind.contents }}
|
||||||
{{ hackageLink = [|https://hackage.haskell.org/package/{{.}}|] }}
|
{{ hackageLink = [|https://hackage.haskell.org/package/{{.}}|] }}
|
||||||
(<a href="{{hackageLink}}">Hackage</a>)
|
(<a href="{{hackageLink}}">Hackage</a>)
|
||||||
{{/ item.kind.hackageName }}
|
{{/ item.kind.contents }}
|
||||||
|
Loading…
Reference in New Issue
Block a user