Skip to content

Commit 955680e

Browse files
committed
Merge pull request chibicode#9 from sangyye/gh-pages
Simplify the project repo
2 parents c9cbcfa + bee912d commit 955680e

File tree

9 files changed

+14
-51
lines changed

9 files changed

+14
-51
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
_site
2-
node_modules

Diff for: Gruntfile.js

-25
This file was deleted.

Diff for: Procfile

-2
This file was deleted.

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ This page itself is built with Solo. It's generated from [this markdown file](ht
2020

2121
First, [install Jekyll](http://jekyllrb.com/docs/installation/). Then download Solo from its [GitHub Repository](https://github.com/chibicode/solo). Start Jekyll and you should see this page up and running.
2222

23-
**The main file you'll be editing is `_includes/index.md`**. This becomes the content for the main `index.html`.
23+
**The main file you'll be editing is `index.md`**. This becomes the content for the main `index.html`.
2424

2525
### Other Files
2626

2727
* Edit `_config.yml` to change the site title.
2828
* Edit `_includes/head.html` to add custom code to `<head>`.
2929
* Edit `_includes/scripts.html` to add custom code before `</body>`.
30-
* Edit `CNAME` to host on a custom domain.
3130
* Edit `README.md` before pushing your code.
31+
* Optional: Add `CNAME` to host on a custom domain.
3232

3333
### Don't use `<h1>` tags
3434

Diff for: _config.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
title_tag_text: Solo, a Jekyll Theme
2-
h1_tag_text: Solo
1+
# Site settings
2+
title: Solo, a Jekyll Theme
3+
tag_text: Solo
34

4-
exclude: ["Procfile", "Gruntfile.js", "README.md", "package.json", "CNAME", "node_modules"]
5+
# Build settings
6+
markdown: kramdown
7+
8+
exclude: ["README.md"]

Diff for: _layouts/default.html

+2-2
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>{{ site.title_tag_text }}</title>
7+
<title>{{ site.title }}</title>
88
<link href='//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="./">{{ site.h1_tag_text }}</a></h1>
16+
<h1><a href="./">{{ site.tag_text }}</a></h1>
1717
{{ content }}
1818
</div>
1919
{% include scripts.html %}

Diff for: index.html

-6
This file was deleted.

Diff for: _includes/index.md renamed to index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
1+
---
2+
layout: default
3+
---
24

35
[Solo](http://solo.chibi.io) is a Jekyll theme that supports **single-page websites** only, but supports them well. Yes, it's responsive.
46

Diff for: package.json

-9
This file was deleted.

0 commit comments

Comments
 (0)