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:
Vedang Manerikar 2013-09-13 13:08:55 +05:30
parent 5e1dc99f9c
commit 43e855a1f1

View file

@ -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))]