File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ type Speaker = {
1111 slug : string ;
1212 affiliation : string ;
1313 homepage : string | null ;
14+ homepageUrl : string | null ;
1415 twitter : string | null ;
1516 bioSource : any ;
1617} ;
@@ -33,7 +34,7 @@ export default function Page({
3334 const title = `${ speaker . name } - EuroPython 2022 | July 11th-17th 2022 | Dublin Ireland & Remote` ;
3435 const hasExtra = speaker . affiliation || speaker . homepage || speaker . twitter ;
3536 if ( speaker . homepage != null ) {
36- speaker . homepage = ( speaker . homepage . indexOf ( '://' ) === - 1 ) ? 'https://' + speaker . homepage : speaker . homepage ;
37+ speaker . homepageUrl = ( speaker . homepage . indexOf ( '://' ) === - 1 ) ? 'https://' + speaker . homepage : speaker . homepage ;
3738 }
3839
3940 return (
@@ -66,11 +67,11 @@ export default function Page({
6667 < dd > { speaker . affiliation } </ dd >
6768 </ >
6869 ) }
69- { speaker . homepage && (
70+ { speaker . homepageUrl && (
7071 < >
7172 < dt > Homepage</ dt >
7273 < dd >
73- < a href = { speaker . homepage } > { speaker . homepage } </ a >
74+ < a href = { speaker . homepageUrl } > { speaker . homepage } </ a >
7475 </ dd >
7576 </ >
7677 ) }
You can’t perform that action at this time.
0 commit comments