diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-09-05 14:02:33 +0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-09-05 14:02:33 +0800 |
commit | 9b7e2e49ce2bb0812c3134defe9279e924f11e51 (patch) | |
tree | c10f9ce2c91b16c2b0196b183adf8cd467287bea /templates | |
parent | 207e955c251543a0042139e1d95c62cea67bf89b (diff) | |
download | my_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 '')
-rw-r--r-- | templates/template.html | 18 |
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"> |