mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
list-packages: Add an "alt" attribute for the logos.
* build-aux/list-packages.scm (package->sxml): add an alternative text for the logos of the packages.
This commit is contained in:
parent
9a9e72d5ad
commit
0e5b0f78f6
1 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,8 @@ (define (package-logo name)
|
||||||
((? string? url)
|
((? string? url)
|
||||||
`(img (@ (src ,url)
|
`(img (@ (src ,url)
|
||||||
(height "35em")
|
(height "35em")
|
||||||
(class "package-logo"))))
|
(class "package-logo")
|
||||||
|
(alt ("Logo of " ,(package-name package))))))
|
||||||
(_ #f))
|
(_ #f))
|
||||||
(p ,(package-description package))
|
(p ,(package-description package))
|
||||||
,(license package)
|
,(license package)
|
||||||
|
|
Loading…
Reference in a new issue