Skip to content

Commit aa4b373

Browse files
committed
replace webfont.js with simple font stylesheet
PR-URL: #178 Fixes: #108
1 parent 4e39032 commit aa4b373

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

layouts/partials/footer.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
</footer>
2727

2828
<link rel="stylesheet" href="/static/css/prism-tomorrow.css" media="all">
29-
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js" async defer></script>
3029
<script type="text/javascript">
3130
var $scrollToTop = document.getElementById('scrollToTop');
3231
(window.onscroll = function() {

layouts/partials/html-head.hbs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818
<link rel="alternate" href="/{{ ../site.locale }}/{{ link }}" title="{{ text }}" type="application/rss+xml">
1919
{{/each}}
2020
<link rel="stylesheet" href="/{{ site.locale }}/styles.css" media="all">
21-
21+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600">
2222
<script>
2323
document.querySelector('html').className += " has-js";
2424
25-
var WebFontConfig = { google: { families: ['Source Sans Pro:400,600'] } };
2625
!function(n,o,d,e,j,s){n.GoogleAnalyticsObject=d;n[d]||(n[d]=function(){
2726
(n[d].q=n[d].q||[]).push(arguments)});n[d].l=+new Date;j=o.createElement(e);
2827
s=o.getElementsByTagName(e)[0];j.async=1;j.src='//www.google-analytics.com/analytics.js';

0 commit comments

Comments
 (0)