Skip to content

Commit

Permalink
Fix link to author images
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Jan 13, 2025
1 parent f7edb3b commit 5a1320f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
author, data = author
s = ""
if author in authorphoto:
s += """<div style="float:right; clear:both; text-align:center; border:1px solid #f8f8f8; padding:0.3em; background-color:#fcfcfc; margin-left:0.5em; margin-bottom:0.5em"><img src="people/%s" style="max-width:130px; max-height:130px;" /><br/>%s</div>""" % (authorphoto[author], author)
s += """<div style="float:right; clear:both; text-align:center; border:1px solid #f8f8f8; padding:0.3em; background-color:#fcfcfc; margin-left:0.5em; margin-bottom:0.5em"><img src="%s" style="max-width:130px; max-height:130px;" /><br/>%s</div>""" % (authorphoto[author], author)
s += "<dt>"
if data.get("web"):
s += """<a href="%s">%s</a>""" % (data.get("web"), author)
Expand Down

0 comments on commit 5a1320f

Please sign in to comment.