From 710f707243ec1c40d9b7e7e7c67d5db3efbce81d Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Mon, 4 Dec 2017 21:25:39 +0100 Subject: [PATCH] Updated site to improve font loading --- releases/index.pug | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/releases/index.pug b/releases/index.pug index 665b89d..c8cdafd 100644 --- a/releases/index.pug +++ b/releases/index.pug @@ -37,22 +37,8 @@ html(lang="en") meta(name="msapplication-navbutton-color" content="#0a70c0") meta(name="apple-mobile-web-app-status-bar-style" content="#0a70c0") - style. - /* latin */ - @font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(/assets/fonts/Lato-Regular.tff) format('ttf'); - } - - /* latin */ - @font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(/assets/fonts/Lato-Bold.ttf) format('ttf'); - } + style + include /assets/css/fonts.css style include /assets/css/important.min.css style @@ -139,6 +125,4 @@ html(lang="en") script(src="/assets/js/intersectionobserver.min.js") script include /assets/js/script.js - style - include /assets/css/fonts.css link(rel="stylesheet" href="/assets/css/semantic.min.css") \ No newline at end of file -- GitLab