diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2795ecf..d872880 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -10,9 +10,14 @@ <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1"> {{ if not .Site.Params.disableGoogleFonts }} - <!--Fonts from Google"s Web font directory at http://google.com/webfonts added from Octo--> - <link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> - <link href="//fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> + + <!-- If local Google Fonts are enabled --> + {{ if not .Site.Params.remoteFonts }} + <link href="/css/fonts.css" rel="stylesheet" type="text/css"> + {{ else }} + <link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> + <link href="//fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> + {{ end }} {{ end }} <!-- goes into the title bar --> |