Skip to content

Commit

Permalink
Added links to the keyword pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveverwer committed Sep 23, 2021
1 parent a778ddc commit 0294d71
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/App/Views/PackageController/PackageShow+Model.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,12 @@ extension PackageShow.Model {
return .ul(
.class("keywords"),
.forEach(keywords, { keyword in
.li(.text(keyword))
.li(
.a(
.href(SiteURL.keywords(.value(keyword)).relativeURL()),
.text(keyword)
)
)
})
)
} else {
Expand Down

0 comments on commit 0294d71

Please sign in to comment.