Skip to content

Commit 8e4f527

Browse files
committed
Use config.yml instead
1 parent d1a7c8f commit 8e4f527

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ First, [install Jekyll](http://jekyllrb.com/docs/installation/). Then download S
2525

2626
### Other Files
2727

28-
* Edit `_includes/title` to change the site title.
28+
* Edit `_config.yml` to change the site title.
2929
* Edit `_includes/head.html` to add custom code to `<head>`.
3030
* Edit `_includes/scripts.html` to add custom code before `</body>`.
3131
* Edit `CNAME` to host on a custom domain.

‎_config.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
markdown: redcarpet
2-
pygments: true
2+
pygments: true
3+
4+
title_tag_text: Solo, a Jekyll Theme
5+
h1_tag_text: Solo

‎_includes/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ First, [install Jekyll](http://jekyllrb.com/docs/installation/). Then download S
2525

2626
### Other Files
2727

28-
* Edit `_includes/title` to change the site title.
28+
* Edit `_config.yml` to change the site title.
2929
* Edit `_includes/head.html` to add custom code to `<head>`.
3030
* Edit `_includes/scripts.html` to add custom code before `</body>`.
3131
* Edit `CNAME` to host on a custom domain.

‎_includes/title‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎_layouts/default.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>{% include title %}</title>
7+
<title>{{ site.title_tag_text }}</title>
88
<link href='http://fonts.googleapis.com/css?family=Roboto:400,400italic,700' rel='stylesheet' type='text/css'>
99
<link rel="stylesheet" href="css/normalize.css">
1010
<link rel="stylesheet" href="css/syntax.css">
@@ -13,7 +13,7 @@
1313
</head>
1414
<body>
1515
<div class="container">
16-
<h1><a href="./">{% include title %}</a></h1>
16+
<h1><a href="./">{{ site.h1_tag_text }}</a></h1>
1717
{{ content }}
1818
</div>
1919
{% include scripts.html %}

0 commit comments

Comments
 (0)