Permalink
Browse files

Use Google Fonts CSS directly with preconnect

  • Loading branch information...
yous committed May 24, 2018
1 parent 0a338f0 commit 660a74f07c3ac3ea8c89b019f3b77a8a735f97cd
Showing with 6 additions and 11 deletions.
  1. +4 −0 CHANGELOG.md
  2. +2 −11 _includes/fonts.html
@@ -1,5 +1,9 @@
# ChangeLog
## HEAD
- Use Google Fonts CSS directly with preconnect
## 1.6.1 (2018-04-09)
- Fix lang attribute for post with external URL
@@ -1,11 +1,2 @@
<script type="text/javascript">
WebFontConfig = {
google: { families: [ 'Bitter:400,700,400italic:latin' ] }
};
(function(d) {
var wf = d.createElement('script'), s = d.scripts[0];
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js';
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
</script>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css?family=Bitter:400,400i,700" rel="stylesheet">

0 comments on commit 660a74f

Please sign in to comment.