aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-09-05 14:02:33 +0800
committerZhiming Wang <zmwangx@gmail.com>2015-09-05 14:02:33 +0800
commit9b7e2e49ce2bb0812c3134defe9279e924f11e51 (patch)
treec10f9ce2c91b16c2b0196b183adf8cd467287bea /templates
parent207e955c251543a0042139e1d95c62cea67bf89b (diff)
downloadmy_new_personal_website-9b7e2e49ce2bb0812c3134defe9279e924f11e51.tar.xz
my_new_personal_website-9b7e2e49ce2bb0812c3134defe9279e924f11e51.zip
Self host webfonts
Sometimes (e.g., occasionally in China) Google/FontAwesome webfonts might not be available, rendering the whole site unusable.
Diffstat (limited to 'templates')
-rw-r--r--templates/template.html18
1 files changed, 8 insertions, 10 deletions
diff --git a/templates/template.html b/templates/template.html
index f0d97932..65f22d11 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -12,16 +12,14 @@ $endif$
<meta name="msapplication-TileColor" content="#FFFFFF"/>
<meta name="msapplication-TileImage" content="/img/favicon-144.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link href="//fonts.googleapis.com/css?family=Open+Sans:regular" rel="stylesheet" type="text/css"/>
- <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=Droid+Sans+Mono" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
- <link href='/css/normalize.css' media="all" rel="stylesheet" type="text/css"/>
- <link href='/css/theme.css' media="all" rel="stylesheet" type="text/css"/>
- <link href='/css/theme-wide.css' media="only screen and (min-width: 1441px)" rel="stylesheet" type="text/css"/>
- <link href='/css/theme-narrow.css' media="only screen and (max-width: 1023px)" rel="stylesheet" type="text/css"/>
- <link href='/css/theme-ultranarrow.css' media="only screen and (max-width: 500px)" rel="stylesheet" type="text/css"/>
- <link href='/css/print.css' media="print" rel="stylesheet" type="text/css"/>
+ <link href="/css/fonts.css" media="all" rel="stylesheet" type="text/css"/>
+ <link href="/css/font-awesome.min.css" media="all" rel="stylesheet" type="text/css">
+ <link href="/css/normalize.css" media="all" rel="stylesheet" type="text/css"/>
+ <link href="/css/theme.css" media="all" rel="stylesheet" type="text/css"/>
+ <link href="/css/theme-wide.css" media="only screen and (min-width: 1441px)" rel="stylesheet" type="text/css"/>
+ <link href="/css/theme-narrow.css" media="only screen and (max-width: 1023px)" rel="stylesheet" type="text/css"/>
+ <link href="/css/theme-ultranarrow.css" media="only screen and (max-width: 500px)" rel="stylesheet" type="text/css"/>
+ <link href="/css/print.css" media="print" rel="stylesheet" type="text/css"/>
<style type="text/css">code{white-space: pre;}</style>
$if(highlighting-css)$
<style type="text/css">