Hyperlink the project name to it's URL.
If :url is provided in the project-info, use it to create a hyperlink for the project-name
This commit is contained in:
parent
5e1dc99f9c
commit
43e855a1f1
1 changed files with 3 additions and 1 deletions
|
@ -153,7 +153,9 @@
|
|||
[:tr
|
||||
[:td {:class "docs"}
|
||||
[:div {:class "header"}
|
||||
[:h1 {:class "project-name"} (:name project-info)]
|
||||
[:h1 {:class "project-name"} (if (seq (:url project-info))
|
||||
[:a {:href (:url project-info)} (:name project-info)]
|
||||
(:name project-info))]
|
||||
[:h2 {:class "project-version"} (:version project-info)]
|
||||
[:br]
|
||||
(md (:description project-info))]
|
||||
|
|
Loading…
Reference in a new issue