add meta description and equalize protocol for twitter widgets
This commit is contained in:
parent
35673c994b
commit
41d440eaa7
3 changed files with 7 additions and 4 deletions
|
|
@ -2,6 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title><%= topic %>Mithril</title>
|
||||
<meta name="description" value="Mithril.js - a Javascript Framework for Building Brilliant Applications" />
|
||||
<link href="lib/prism/prism.css" rel="stylesheet" />
|
||||
<link href="style.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title><%= topic %>Mithril</title>
|
||||
<meta name="description" value="Mithril.js - a Javascript Framework for Building Brilliant Applications" />
|
||||
<link href="lib/prism/prism.css" rel="stylesheet" />
|
||||
<link href="style.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Mithril</title>
|
||||
<meta name="description" value="Mithril.js - a Javascript Framework for Building Brilliant Applications" />
|
||||
<link href="lib/prism/prism.css" rel="stylesheet" />
|
||||
<link href="style.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
|
@ -30,10 +31,10 @@
|
|||
<a class="button" href="mithril.min.zip">Download v$version</a>
|
||||
</p>
|
||||
|
||||
<iframe src="ghbtns.html?user=lhorie&repo=mithril.js&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
|
||||
<iframe src="ghbtns.html?user=lhorie&repo=mithril.js&type=watch&count=true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
|
||||
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://lhorie.github.io/mithril" data-via="LeoHorie">Tweet</a>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='//platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
||||
|
||||
<a href="http://flattr.com/thing/2778375/lhoriemithril-js-on-GitHub" target="_blank"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr" title="Flattr" border="0" /></a>
|
||||
<a class="changelog" href="change-log.html"><small>Change Log</small></a>
|
||||
|
|
@ -145,7 +146,7 @@ var Demo = {
|
|||
}),
|
||||
m("button", {onclick: ctrl.rotate}, "Rotate links")
|
||||
]);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -257,7 +258,7 @@ m.mount(document.getElementById("example"), Demo);
|
|||
|
||||
<blockquote class="twitter-tweet" lang="en"><p>Mithril: The newest JavaScript MVC library 3Kb. <a href="http://twitter.com/LeoHorie">@LeoHorie</a> got it right: It's all about good guides/docs: <a href="http://lhorie.github.io/mithril/comparison.html">lhorie.github.io/mithril/comparison.html</a></p> — David Corbacho (@dcorbacho) <a href="https://twitter.com/dcorbacho/status/446926407843991552">March 21, 2014</a></blockquote>
|
||||
|
||||
<script async src="https://platform.twitter.com/widgets.js"></script>
|
||||
<script async src="//platform.twitter.com/widgets.js"></script>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue