'Adding Computer Modern Serif to Jekyll github page
I am using a forked version of the jekyll github page and want to add Computer Modern Serif font as the body font for all pages. I downloaded all the files from here as explained by the answer into a fonts/Serif folder. I then added into the _includes/ext-css.html file the following code
<head>
<meta charset="UTF-8" />
<title>Test</title>
<!-- Computer Modern Serif-->
<link rel="stylesheet" href="fonts/Serif/cmun-serif.css"></link>
...
</head>
I have also added the following line (at line 13) to the assets/css/beautifuljekyll.css file
body {
font-family: 'Lora', 'Times New Roman', serif;
However, I am still unable to get this font on all the pages. Should I add/remove anything else to make this work? I am new to github pages and html, so please help me with this
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
