aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamal Carvalho <jamal@golang.org>2021-12-28 23:28:38 +0000
committerJamal Carvalho <jamalcarvalho@google.com>2021-12-29 23:18:47 +0000
commitf07bd53eacd2d2fce298fb0ea31be6c21f477159 (patch)
treed38d318c2216debcd5b58b54a17bc8480b05adb2
parent56b50be2793a61a903f3f01cef39fb70ba4a6947 (diff)
downloadgo-x-website-f07bd53eacd2d2fce298fb0ea31be6c21f477159.tar.xz
_content: remove unused fonts
Go.dev was updated to use only system fonts. Removed deprecated font styles and files. Change-Id: Ibeaca8e5518d41a22323a99f0469bd0a510129d2 Reviewed-on: https://go-review.googlesource.com/c/website/+/374634 Run-TryBot: Jamal Carvalho <jamal@golang.org> Trust: Jamal Carvalho <jamalcarvalho@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Alex Rakoczy <alex@golang.org>
-rw-r--r--_content/css/fonts.css69
-rw-r--r--_content/fonts/Go-Bold.woffbin36532 -> 0 bytes
-rw-r--r--_content/fonts/Go-BoldItalic.woffbin39416 -> 0 bytes
-rw-r--r--_content/fonts/Go-Italic.woffbin39852 -> 0 bytes
-rw-r--r--_content/fonts/GoMedium-Italic.woffbin45996 -> 0 bytes
-rw-r--r--_content/fonts/GoMedium.woffbin42316 -> 0 bytes
-rw-r--r--_content/fonts/GoMono-Bold.woffbin39200 -> 0 bytes
-rw-r--r--_content/fonts/GoMono-BoldItalic.woffbin42968 -> 0 bytes
-rw-r--r--_content/fonts/GoMono-Italic.woffbin42912 -> 0 bytes
-rw-r--r--_content/fonts/GoMono.woffbin39336 -> 0 bytes
-rw-r--r--_content/fonts/GoRegular.woffbin36928 -> 0 bytes
-rw-r--r--_content/site.tmpl3
12 files changed, 1 insertions, 71 deletions
diff --git a/_content/css/fonts.css b/_content/css/fonts.css
deleted file mode 100644
index ca35a713..00000000
--- a/_content/css/fonts.css
+++ /dev/null
@@ -1,69 +0,0 @@
-@font-face {
- font-family: 'Go';
- src: url('/fonts/GoMedium-Italic.woff') format('woff');
- font-weight: 500;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Go';
- src: url('/fonts/Go-Italic.woff') format('woff');
- font-weight: normal;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Go';
- src: url('/fonts/Go-Bold.woff') format('woff');
- font-weight: bold;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Go';
- src: url('/fonts/GoMedium.woff') format('woff');
- font-weight: 500;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Go';
- src: url('/fonts/Go-BoldItalic.woff') format('woff');
- font-weight: bold;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Go';
- src: url('/fonts/GoRegular.woff') format('woff');
- font-weight: normal;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Go Mono';
- src: url('/fonts/GoMono-Bold.woff') format('woff');
- font-weight: bold;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Go Mono';
- src: url('/fonts/GoMono.woff') format('woff');
- font-weight: normal;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Go Mono';
- src: url('/fonts/GoMono-Italic.woff') format('woff');
- font-weight: normal;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Go Mono';
- src: url('/fonts/GoMono-BoldItalic.woff') format('woff');
- font-weight: bold;
- font-style: italic;
-}
diff --git a/_content/fonts/Go-Bold.woff b/_content/fonts/Go-Bold.woff
deleted file mode 100644
index 9e20c5db..00000000
--- a/_content/fonts/Go-Bold.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/Go-BoldItalic.woff b/_content/fonts/Go-BoldItalic.woff
deleted file mode 100644
index 02af73a2..00000000
--- a/_content/fonts/Go-BoldItalic.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/Go-Italic.woff b/_content/fonts/Go-Italic.woff
deleted file mode 100644
index ac680788..00000000
--- a/_content/fonts/Go-Italic.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/GoMedium-Italic.woff b/_content/fonts/GoMedium-Italic.woff
deleted file mode 100644
index 49c509ca..00000000
--- a/_content/fonts/GoMedium-Italic.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/GoMedium.woff b/_content/fonts/GoMedium.woff
deleted file mode 100644
index 25415156..00000000
--- a/_content/fonts/GoMedium.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/GoMono-Bold.woff b/_content/fonts/GoMono-Bold.woff
deleted file mode 100644
index f636e563..00000000
--- a/_content/fonts/GoMono-Bold.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/GoMono-BoldItalic.woff b/_content/fonts/GoMono-BoldItalic.woff
deleted file mode 100644
index 3d977e05..00000000
--- a/_content/fonts/GoMono-BoldItalic.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/GoMono-Italic.woff b/_content/fonts/GoMono-Italic.woff
deleted file mode 100644
index 95440272..00000000
--- a/_content/fonts/GoMono-Italic.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/GoMono.woff b/_content/fonts/GoMono.woff
deleted file mode 100644
index f7e5ffe9..00000000
--- a/_content/fonts/GoMono.woff
+++ /dev/null
Binary files differ
diff --git a/_content/fonts/GoRegular.woff b/_content/fonts/GoRegular.woff
deleted file mode 100644
index 5292f4ab..00000000
--- a/_content/fonts/GoRegular.woff
+++ /dev/null
Binary files differ
diff --git a/_content/site.tmpl b/_content/site.tmpl
index 8c9db4cd..bc638a81 100644
--- a/_content/site.tmpl
+++ b/_content/site.tmpl
@@ -14,10 +14,9 @@
<meta name="description" content="Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#00add8">
-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Google+Sans:400,500,600|Work+Sans:400,500,600|Roboto:400,500,700|Open+Sans:Source+Code+Pro|Material+Icons">
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons">
<link rel="stylesheet" href="/css/styles.css">
{{if strings.HasPrefix .URL "/blog/"}}
-<link rel="stylesheet" href="/css/blogfonts.css">
<link rel="alternate" title="The Go Blog" type="application/atom+xml" href="/blog/feed.atom">
{{end}}
<!-- Google Tag Manager -->