diff --git a/templates/item-title.widget b/templates/item-title.widget index ecf5f1e..f921fc1 100644 --- a/templates/item-title.widget +++ b/templates/item-title.widget @@ -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/{{.}}|] }} (Hackage) -{{/ item.kind.hackageName }} +{{/ item.kind.contents }}