forked from chibicode/solo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
91 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,40 @@ | ||
# Solo | ||
# Jekyll One | ||
|
||
[Solo](http://chibicode.github.io/solo) is a Jekyll theme that supports **single-page websites** only, but supports them well. Yes, it's responsive. | ||
## Useful if... | ||
|
||
### [Demo & Documentation →](http://chibicode.github.io/solo) | ||
* You want to create an "about me" page from a single markdown file and host it under a custom domain name. | ||
* You want to create a single-page website that's mostly text, like [Know Your Company](https://knowyourcompany.com/). | ||
* You want to share a single markdown file and tried GitHub Gist ([example](https://gist.github.com/dypsilon/5819504)), but would like something nicer-looking. | ||
* You want something like GitHub's [automatic page generator](http://pages.github.com/) for a non-code repository. | ||
|
||
This page itself is built with Solo. It's generated from [this markdown file](https://github.com/chibicode/solo/blob/gh-pages/_includes/index.md). | ||
|
||
## Usage | ||
|
||
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. | ||
|
||
### Files | ||
|
||
* Edit `_config.yml` to change the site's title and description. | ||
* Edit `_includes/head.html` to add custom code to `<head>`. | ||
* Edit `_includes/scripts.html` to add custom code before `</body>`. | ||
* Edit `CNAME` to host on a custom domain. | ||
* Edit `README.md` before pushing your code. | ||
|
||
### Don't use `<h1>` tags | ||
|
||
Wthin `index.md`, do not use `<h1>` tags - `<h1>` is reserved for the site title. | ||
|
||
### Supported Tags | ||
|
||
Solo supports lists, `<hr>`s, `<table>`s, | ||
|
||
> blockquotes, and... | ||
~~~html | ||
<pre>code blocks with syntax highlighting.</pre> | ||
~~~ | ||
|
||
### License | ||
|
||
[MIT License](http://chibicode.mit-license.org/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- section: Section One | ||
text: | | ||
**Lorem Ipsum** is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. | ||
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). | ||
- section: Section Two | ||
text: | | ||
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. | ||
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="description" content="{{ site.description }}"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{ site.title }}</title> | ||
<link rel="stylesheet" href="css/main.css"> | ||
{% include head.html %} | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1><a href="./">{{ site.tag_text }}</a></h1> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="description" content="{{ site.description }}"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{ site.title }}</title> | ||
<link href='https://fonts.googleapis.com/css?family=Montserrat:700' rel='stylesheet' type='text/css'> | ||
<link href='https://fonts.googleapis.com/css?family=Lora:400,400italic,700' rel='stylesheet' type='text/css'> | ||
<link rel="stylesheet" href="css/main.css"> | ||
{% include head.html %} | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1><a href="./">{{ site.tag_text }}</a></h1> | ||
</div> | ||
{{ content }} | ||
</div> | ||
{% include scripts.html %} | ||
</body> | ||
{% include scripts.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Colours | ||
$action-colour: rgb(122,184,0); | ||
|
||
// Typography | ||
$main-font: Lora; | ||
$heading-font: Montserrat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
|
||
@import | ||
'normalize', | ||
'variables', | ||
'solo', | ||
'syntax'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{% for s in site.data.content %} | ||
<section> | ||
<div class="container"> | ||
<h2>{{ s.section }}</h2> | ||
{{ s.text | markdownify }} | ||
</div> | ||
</section> | ||
{% endfor %} |