use float and add the alt attribute to <img>
authorYihui Xie <xie@yihui.name>
Sat, 17 Jun 2017 03:45:54 +0000 (22:45 -0500)
committerYihui Xie <xie@yihui.name>
Sat, 17 Jun 2017 03:45:54 +0000 (22:45 -0500)
exampleSite/content/_index.md

index 77e75a2a28f8aa603075efe4a1460529d69aad89..02563f6ba41e398f9d43f405e78a57a87d1408b1 100644 (file)
@@ -2,7 +2,7 @@
 title: Home
 ---
 
-[<img src="https://simpleicons.org/icons/github.svg" style="max-width:15%;min-width:40px" align="right" />](https://github.com/yihui/hugo-xmin)
+[<img src="https://simpleicons.org/icons/github.svg" style="max-width:15%;min-width:40px;float:right;" alt="Github repo" />](https://github.com/yihui/hugo-xmin)
 
 # HUGO XMIN