Skip to content

Commit

Permalink
replace webfont.js with simple font stylesheet
Browse files Browse the repository at this point in the history
PR-URL: #178
Fixes: #108
  • Loading branch information
silverwind committed Feb 1, 2016
1 parent 4e39032 commit aa4b373
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion layouts/partials/footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
</footer>

<link rel="stylesheet" href="/static/css/prism-tomorrow.css" media="all">
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" async defer></script>
<script type="text/javascript">
var $scrollToTop = document.getElementById('scrollToTop');
(window.onscroll = function() {
Expand Down
3 changes: 1 addition & 2 deletions layouts/partials/html-head.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
<link rel="alternate" href="/{{ ../site.locale }}/{{ link }}" title="{{ text }}" type="application/rss+xml">
{{/each}}
<link rel="stylesheet" href="/{{ site.locale }}/styles.css" media="all">

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600">
<script>
document.querySelector('html').className += " has-js";
var WebFontConfig = { google: { families: ['Source Sans Pro:400,600'] } };
!function(n,o,d,e,j,s){n.GoogleAnalyticsObject=d;n[d]||(n[d]=function(){
(n[d].q=n[d].q||[]).push(arguments)});n[d].l=+new Date;j=o.createElement(e);
s=o.getElementsByTagName(e)[0];j.async=1;j.src='//www.google-analytics.com/analytics.js';
Expand Down

0 comments on commit aa4b373

Please sign in to comment.