Skip to content

Commit a447097

Browse files
authored
fix: gh icon as relative path (#170)
1 parent 277f209 commit a447097

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pre_build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ def render_authors_md():
178178
# The invertocat icon was downloaded from https://brand.github.com/foundations/logo
179179
# and colored in grey according to the guidelines under the "Color" section.
180180
orcid_icon = "https://orcid.org/assets/vectors/orcid.logo.icon.svg"
181-
github_icon = "icons/invertocat.svg"
182181

183182
for idx, author in enumerate(authors):
184183
name = author['name']
@@ -187,7 +186,7 @@ def render_authors_md():
187186
name += f" [<img src=\"{orcid_icon}\" alt=\"ORCID iD\" height=12 width=12 style=\"vertical-align: middle;\"/>](https://orcid.org/{author['orcid']})"
188187

189188
if "github" in author:
190-
name += f" [<img src=\"{github_icon}\" alt=\"GitHub\" height=12 width=12 style=\"vertical-align: middle;\"/>](https://github.com/{author['github']})"
189+
name += f" [<img src=icons/invertocat.svg alt=\"GitHub\" height=12 width=12 style=\"vertical-align: middle;\"/>](https://github.com/{author['github']})"
191190

192191

193192
if idx == len(authors) - 1:

0 commit comments

Comments
 (0)