Skip to content

Commit 811b544

Browse files
committed
Allow Open Sans to be used when testing locally
When a web font's URL is specified via `href="//<host>"`, the protocol is inherited from the loaded page. That's all good and fine if `https` (or even `http`) is used to load the page, but falls apart when the protocol is `file`, as it is the case when testing locally. Therefore, let's just use `https` instead. This should be used nowadays instead of `http`, anyways. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent e5458d7 commit 811b544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>Git for Windows</title>
77
<meta name="description" content="We bring the awesome Git VCS to Windows">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
9-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,700">
9+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
1010
{{- $style := resources.Get "sass/pack.css" | resources.ExecuteAsTemplate "pack.css" . | css.Sass }}
1111
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
1212
<style type="text/css">

0 commit comments

Comments
 (0)