Skip to content

Commit d4e677c

Browse files
committed
remove googlefonts option and rename blog posts
1 parent 3ecc42c commit d4e677c

10 files changed

Lines changed: 5 additions & 19 deletions

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ js | List of local JavaScript files to include in the page (eg. `/asset
139139
ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.<br/>`href: "//code.jquery.com/jquery-3.1.1.min.js"`<br/>`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="`
140140
css | List of local CSS files to include in the page
141141
ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported.
142-
googlefonts | List of Google fonts to include in the page (eg. `["Monoton", "Lobster"]`)
143142

144143
### Page types
145144

_includes/head.html

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@
3030
{% endfor %}
3131
{% endif %}
3232

33-
{% if layout.common-googlefonts %}
34-
{% for font in layout.common-googlefonts %}
35-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}">
36-
{% endfor %}
37-
{% endif %}
38-
3933
{% if page.ext-css %}
4034
{% for css in page.ext-css %}
4135
{% include ext-css.html css=css %}
@@ -48,13 +42,7 @@
4842
{% endfor %}
4943
{% endif %}
5044

51-
{% if page.googlefonts %}
52-
{% for font in page.googlefonts %}
53-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}">
54-
{% endfor %}
55-
{% endif %}
56-
57-
<!-- Facebook OpenGraph tags -->
45+
<!-- Facebook OpenGraph tags -->
5846
{% if site.fb_app_id %}
5947
<meta property="fb:app_id" content="{{ site.fb_app_id }}">
6048
{% endif %}

_layouts/base.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
77
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
88
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"
9-
common-googlefonts:
10-
- "Lora:400,700,400italic,700italic"
11-
- "Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
9+
- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
10+
- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
1211
common-ext-js:
1312
- href: "https://code.jquery.com/jquery-3.4.1.min.js"
1413
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
layout: post
3-
title: Test markdown
3+
title: Sample blog post
44
subtitle: Each post also has a subtitle
55
gh-repo: daattali/beautiful-jekyll
66
gh-badge: [star, fork, follow]
77
tags: [test]
88
comments: true
99
---
1010

11-
You can write regular [markdown](https://markdowntutorial.com/) here and Jekyll will automatically convert it to a nice webpage. I strongly encourage you to [take 5 minutes to learn how to write in markdown](https://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/headings/tables/etc.
11+
This is a demo post to show you how to write blog posts with markdown. I strongly encourage you to [take 5 minutes to learn how to write in markdown](https://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/headings/tables/etc.
1212

1313
**Here is some bold text**
1414

0 commit comments

Comments
 (0)