Permalink
Browse files

Added font-faces for google fonts and removed links to external googl…

…e font api
  • Loading branch information...
1 parent 6097d5d commit a7c1ad3259f9f35ef594ffcd7656f43e08b66dd6 Sock committed May 9, 2016
Showing with 6 additions and 3 deletions.
  1. +1 −1 default.hbs
  2. +1 −1 error.hbs
  3. +1 −1 page-browser-compatibility.hbs
  4. +3 −0 partials/head-css.hbs
View
@@ -9,6 +9,7 @@
<title>{{meta_title}}</title>
{{> meta}}
<link rel="stylesheet" type="text/css" href="{{asset "css/caffeine-theme.css"}}" />
+ {{> head-css}}
{{ghost_head}}
</head>
<body class="{{body_class}}">
@@ -23,7 +24,6 @@
{{> tags-overlay}}
{{ghost_foot}}
<script src="{{asset "js/caffeine-theme.js"}}" type="text/javascript" charset="utf-8"></script>
- <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Raleway:400,700|Roboto+Slab:300,400" />
{{> google-analytics}}
{{> disqus-comment-count}}
</body>
View
@@ -6,6 +6,7 @@
<title>404 Page not found</title>
{{> meta}}
<link rel="stylesheet" type="text/css" href="{{asset "css/caffeine-theme.css"}}" />
+ {{> head-css}}
{{ghost_head}}
</head>
<body class="page-error">
@@ -32,7 +33,6 @@
</section>
</article>
{{ghost_foot}}
- <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Raleway:400,700|Roboto+Slab:300,400" />
<script type="text/javascript" src="{{asset "js/caffeine-theme.js"}}"></script>
{{> google-analytics}}
</body>
@@ -6,6 +6,7 @@
<title>Browser Compatibility Error</title>
{{> meta}}
<link rel="stylesheet" type="text/css" href="{{asset "css/caffeine-theme.css"}}" />
+ {{> head-css}}
{{ghost_head}}
</head>
<body class="page-browser-compatibility">
@@ -32,7 +33,6 @@
</section>
</article>
{{ghost_foot}}
- <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Raleway:400,700|Roboto+Slab:300,400" />
<script type="text/javascript" src="{{asset "js/caffeine-theme.js"}}"></script>
{{> google-analytics}}
</body>
@@ -0,0 +1,3 @@
+<style>
+@font-face{font-family:Raleway;font-weight:400;font-style:normal;src:local('Raleway'),local('Raleway-regular'),url(https://fonts.gstatic.com/s/raleway/v10/QAUlVt1jXOgQavlW5wEfxQLUuEpTyoUstqEm5AMlJo4.woff2) format('woff2'),url(https://fonts.gstatic.com/s/raleway/v10/cIFypx4yrWPDz3zOxk7hIQLUuEpTyoUstqEm5AMlJo4.woff) format('woff'),url(https://fonts.gstatic.com/s/raleway/v10/bIcY3_3JNqUVRAQQRNVteQ.ttf) format('truetype'),url(https://fonts.gstatic.com/l/font?kit=IP_NSg73bUZGuyb3zF6qcQ&skey=30a27f2564731c64&v=v10#Raleway) format('svg')}@font-face{font-family:Raleway;font-weight:700;font-style:normal;src:local('Raleway Bold'),local('Raleway-700'),url(https://fonts.gstatic.com/s/raleway/v10/JbtMzqLaYbbbCL9X6EvaIwzyDMXhdD8sAj6OAJTFsBI.woff2) format('woff2'),url(https://fonts.gstatic.com/s/raleway/v10/JbtMzqLaYbbbCL9X6EvaI73hpw3pgy2gAi-Ip7WPMi0.woff) format('woff'),url(https://fonts.gstatic.com/s/raleway/v10/JbtMzqLaYbbbCL9X6EvaIy3USBnSvpkopQaUR-2r7iU.ttf) format('truetype'),url(https://fonts.gstatic.com/l/font?kit=JbtMzqLaYbbbCL9X6EvaI6WUboTb-jS2tyCOQMtm97g&skey=e507c3e2b7915ad1&v=v10#Raleway) format('svg')}@font-face{font-family:'Roboto Slab';font-weight:300;font-style:normal;src:local('Roboto Slab Light'),local('Roboto-Slab-300'),url(https://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJdTIkQYohD4BpHvJ3NvbHoA.woff2) format('woff2'),url(https://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJfR_54zmj3SbGZQh3vCOwvY.woff) format('woff'),url(https://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJbfB31yxOzP-czbf6AAKCVo.ttf) format('truetype'),url(https://fonts.gstatic.com/l/font?kit=dazS1PrQQuCxC3iOAJFEJT4dnM32POWavC8T_whbZeI&skey=5b48fccf0dc70db6&v=v6#RobotoSlab) format('svg')}@font-face{font-family:'Roboto Slab';font-weight:400;font-style:normal;src:local('Roboto Slab Regular'),local('Roboto-Slab-regular'),url(https://fonts.gstatic.com/s/robotoslab/v6/y7lebkjgREBJK96VQi37Zogp9Q8gbYrhqGlRav_IXfk.woff2) format('woff2'),url(https://fonts.gstatic.com/s/robotoslab/v6/y7lebkjgREBJK96VQi37ZrrIa-7acMAeDBVuclsi6Gc.woff) format('woff'),url(https://fonts.gstatic.com/s/robotoslab/v6/y7lebkjgREBJK96VQi37Zp0EAVxt0G0biEntp43Qt6E.ttf) format('truetype'),url(https://fonts.gstatic.com/l/font?kit=y7lebkjgREBJK96VQi37ZnNsigHlcrQGNV8nkUSFQfc&skey=a9ad6a4717e923f0&v=v6#RobotoSlab) format('svg')}
+</style>

0 comments on commit a7c1ad3

Please sign in to comment.