themes/ezhil: migrate critical remote resources into the site

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-01-06 13:55:02 +05:30
parent fe1d460f9d
commit 1e6eae008e
9 changed files with 37 additions and 2 deletions

View File

@ -16,7 +16,6 @@ ignoreErrors = ["error-remote-getjson"]
socialImage = "android-chrome-512x512.webp"
mainSections = ["posts"]
mode = "light"
featherIconsCDN = true
utterancesRepo = "msfjarvis/msfjarvis.dev"
utterancesTheme = "github-light"

View File

@ -19,7 +19,7 @@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,300italic,400italic|Raleway:200,300" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/font.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen" href="{{ .Site.BaseURL }}css/normalize.css" />
<link rel="stylesheet" type="text/css" media="screen" href="{{ .Site.BaseURL }}css/main.css" />

View File

@ -0,0 +1,36 @@
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 200;
src: url(/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVtaorCIPrQ.ttf) format('truetype');
}
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 300;
src: url(/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVuEorCIPrQ.ttf) format('truetype');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: 300;
src: url(/fonts/4iCp6KVjbNBYlgoKejZftVyPN4Q.ttf) format('truetype');
}
@font-face {
font-family: 'Ubuntu';
font-style: italic;
font-weight: 400;
src: url(/fonts/4iCu6KVjbNBYlgoKej70l0w.ttf) format('truetype');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 300;
src: url(/fonts/4iCv6KVjbNBYlgoC1CzjsGyI.ttf) format('truetype');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
src: url(/fonts/4iCs6KVjbNBYlgoKfw7z.ttf) format('truetype');
}

Binary file not shown.

Binary file not shown.

Binary file not shown.