File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,10 @@ const Markdown = props => {
9898 }
9999 const TwitterBadge = props => {
100100 let link = "https://img.shields.io/twitter/follow/" + props . twitter + "?logo=twitter&style=for-the-badge"
101- let hLink = "https://twitter.com/" + props . twitter
102101 if ( props . show ) {
103102 return (
104103 < >
105- { `<p align="left"> <a href="${ hLink } " target="blank"><img src="${ link } " alt="${ props . twitter } " /></a> </p>` }
104+ { `<p align="left"> <a href="${ props . base } / ${ props . twitter } " target="blank"><img src="${ link } " alt="${ props . twitter } " /></a> </p>` }
106105 < br />
107106 < br />
108107 </ >
@@ -254,6 +253,7 @@ const Markdown = props => {
254253 github = { props . social . github }
255254 />
256255 < TwitterBadge
256+ base = "https://twitter.com"
257257 show = { props . data . twitterBadge }
258258 twitter = { props . social . twitter }
259259 />
You can’t perform that action at this time.
0 commit comments