Skip to content

Commit ee7958b

Browse files
committed
Initial commit
0 parents  commit ee7958b

16 files changed

+820
-0
lines changed

Diff for: .gitignore

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

Diff for: 404.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: default
3+
---
4+
5+
Page Not Found.

Diff for: CNAME

Whitespace-only changes.

Diff for: Gruntfile.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = function(grunt) {
2+
grunt.initConfig({
3+
watch: {
4+
files: ['README.md'],
5+
tasks: ['build']
6+
},
7+
copy: {
8+
main: {
9+
src: "README.md",
10+
dest: "_includes/index.md",
11+
options: {
12+
process: function(content, srcpath) {
13+
return content.replace(/^# .+$/gm, "");
14+
}
15+
}
16+
}
17+
}
18+
});
19+
20+
grunt.loadNpmTasks('grunt-contrib-copy');
21+
grunt.loadNpmTasks('grunt-contrib-watch');
22+
23+
grunt.registerTask('build', ['copy']);
24+
grunt.registerTask('default', ['build', 'watch']);
25+
};

Diff for: README.md

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Solo
2+
3+
Solo is a Jekyll theme that only supports **single-page websites**, but supports them well. If you want to create a single-page website that's mostly text, like <a href="https://knowyourcompany.com/" target="_blank">Know Your Company</a>, Solo would be a good choice.
4+
5+
<a href="https://github.com/chibicode/solo"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
6+
7+
<iframe src="http://ghbtns.com/github-btn.html?user=chibicode&amp;repo=solo&amp;type=watch&amp;count=true&amp;size=large"
8+
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe><br/>
9+
10+
## Example
11+
12+
This page is built using Solo, as well as my <a href="https://chibicode.com/" target="_blank">personal website</a>. Solo supports lists, `<hr>`'s, tables,
13+
14+
> blockquotes, and...
15+
16+
~~~html
17+
<pre>code blocks with syntax highlighting.</pre>
18+
~~~
19+
20+
## Usage
21+
22+
First, [install Jekyll](http://jekyllrb.com/docs/installation/). Then download Solo from its [GitHub Repository](https://github.com/poole/poole). Start Jekyll and you should see this page up and running.
23+
24+
**The main file you'll be editing is `_includes/index.md`**. This becomes the content for the main `index.html`.
25+
26+
### Other Files
27+
28+
* Edit `_includes/title` to change the site title.
29+
* Edit `_includes/head.html` to add custom code to `<head>`.
30+
* Edit `_includes/scripts.html` to add custom code before `</body>`.
31+
* Edit `CNAME` to host on a custom domain.
32+
33+
### Don't use `<h1>` tags
34+
35+
Wthin `solo.md`, do not use `<h1>` tags - `<h1>` is reserved for the site title.
36+
37+
### Keep Solo up to date
38+
39+
Instead of downloading, you can [fork Solo](https://github.com/chibicode/solo/fork) and [use "upstream" strategy described on this page](https://help.github.com/articles/fork-a-repo) to keep Solo up to date.
40+
41+
## Author
42+
43+
Shu Uesugi ([Twitter](http://twitter.com/chibicode)/[GitHub](http://github.com/chibicode)).
44+
45+
![Shu Uesugi](http://www.gravatar.com/avatar/b868d84bbe2ed30ec45c9253e1c1cefe.jpg?s=100)
46+
47+
### License
48+
49+
Copyright (c) 2014 Shusaku Uesugi
50+
51+
Permission is hereby granted, free of charge, to any person obtaining a copy
52+
of this software and associated documentation files (the "Software"), to deal
53+
in the Software without restriction, including without limitation the rights
54+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
55+
copies of the Software, and to permit persons to whom the Software is
56+
furnished to do so, subject to the following conditions:
57+
58+
The above copyright notice and this permission notice shall be included in
59+
all copies or substantial portions of the Software.
60+
61+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
64+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
66+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
67+
THE SOFTWARE.

Diff for: _config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
markdown: redcarpet
2+
pygments: true

Diff for: _includes/head.html

Whitespace-only changes.

Diff for: _includes/index.md

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
2+
3+
Solo is a Jekyll theme that only supports **single-page websites**, but supports them well. If you want to create a single-page website that's mostly text, like <a href="https://knowyourcompany.com/" target="_blank">Know Your Company</a>, Solo would be a good choice.
4+
5+
<a href="https://github.com/chibicode/solo"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
6+
7+
<iframe src="http://ghbtns.com/github-btn.html?user=chibicode&amp;repo=solo&amp;type=watch&amp;count=true&amp;size=large"
8+
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe><br/>
9+
10+
## Example
11+
12+
This page is built using Solo, as well as my <a href="https://chibicode.com/" target="_blank">personal website</a>. Solo supports lists, `<hr>`'s, tables,
13+
14+
> blockquotes, and...
15+
16+
~~~html
17+
<pre>code blocks with syntax highlighting.</pre>
18+
~~~
19+
20+
## Usage
21+
22+
First, [install Jekyll](http://jekyllrb.com/docs/installation/). Then download Solo from its [GitHub Repository](https://github.com/poole/poole). Start Jekyll and you should see this page up and running.
23+
24+
**The main file you'll be editing is `_includes/index.md`**. This becomes the content for the main `index.html`.
25+
26+
### Other Files
27+
28+
* Edit `_includes/title` to change the site title.
29+
* Edit `_includes/head.html` to add custom code to `<head>`.
30+
* Edit `_includes/scripts.html` to add custom code before `</body>`.
31+
* Edit `CNAME` to host on a custom domain.
32+
33+
### Don't use `<h1>` tags
34+
35+
Wthin `solo.md`, do not use `<h1>` tags - `<h1>` is reserved for the site title.
36+
37+
### Keep Solo up to date
38+
39+
Instead of downloading, you can [fork Solo](https://github.com/chibicode/solo/fork) and [use "upstream" strategy described on this page](https://help.github.com/articles/fork-a-repo) to keep Solo up to date.
40+
41+
## Author
42+
43+
Shu Uesugi ([Twitter](http://twitter.com/chibicode)/[GitHub](http://github.com/chibicode)).
44+
45+
![Shu Uesugi](http://www.gravatar.com/avatar/b868d84bbe2ed30ec45c9253e1c1cefe.jpg?s=100)
46+
47+
### License
48+
49+
Copyright (c) 2014 Shusaku Uesugi
50+
51+
Permission is hereby granted, free of charge, to any person obtaining a copy
52+
of this software and associated documentation files (the "Software"), to deal
53+
in the Software without restriction, including without limitation the rights
54+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
55+
copies of the Software, and to permit persons to whom the Software is
56+
furnished to do so, subject to the following conditions:
57+
58+
The above copyright notice and this permission notice shall be included in
59+
all copies or substantial portions of the Software.
60+
61+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
64+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
66+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
67+
THE SOFTWARE.

Diff for: _includes/scripts.html

Whitespace-only changes.

Diff for: _includes/title

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Solo

Diff for: _layouts/default.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>{% include title %}</title>
8+
<link href='http://fonts.googleapis.com/css?family=Roboto:400,400italic,700' rel='stylesheet' type='text/css'>
9+
<link rel="stylesheet" href="/css/normalize.css">
10+
<link rel="stylesheet" href="/css/syntax.css">
11+
<link rel="stylesheet" href="/css/solo.css">
12+
{% include head.html %}
13+
</head>
14+
<body>
15+
<div class="container">
16+
<h1><a href="/">{% include title %}</a></h1>
17+
{{ content }}
18+
</div>
19+
{% include scripts.html %}
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)