1
0
mirror of https://github.com/twirl/The-API-Book.git synced 2025-04-23 11:07:53 +02:00

Switched to Google Fonts API v2

This commit is contained in:
Sergey Konstantinov 2020-11-10 12:22:13 +03:00
parent 9af535777a
commit 57b5e35e48
3 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ const html = `<html><head>
<meta charset="utf-8"/>
<title>Сергей Константинов. API</title>
<meta name="author" content="Сергей Константинов"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif&family=PT+Sans&family=Inconsolata"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=PT+Serif&family=PT+Sans&family=Inconsolata"/>
<style>${fs.readFileSync('src/style.css', 'utf-8')}</style>
</head><body>
<article>${content}</article>

View File

@ -2,7 +2,7 @@
<meta charset="utf-8"/>
<title>Сергей Константинов. API</title>
<meta name="author" content="Сергей Константинов"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif&family=PT+Sans&family=Inconsolata"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=PT+Serif&family=PT+Sans&family=Inconsolata"/>
<style>body {
font-family: 'PT Serif';
font-size: 14pt;

Binary file not shown.