really-simple 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +50 -0
- data/_layouts/archives.html +20 -0
- data/_layouts/default.html +23 -0
- data/_layouts/home.html +25 -0
- data/_layouts/post.html +12 -0
- data/_sass/_simple.scss +128 -0
- data/_sass/_syntax-highlighting.scss +71 -0
- data/assets/main.scss +4 -0
- metadata +95 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c1096cd4f0302b82ebdd3b47d97a835329c8797c
|
4
|
+
data.tar.gz: b47f2ee328a4cbc6a4902fd3c99b76a6f99282b3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f40af95888d6c5c6500cafb413af0b7c041eba08e88edb27b18a37ef6fdce0bf6252b908b1f786edcdfdee44aac62aa91d8c93fcdd30b8e4c710ca1639186627
|
7
|
+
data.tar.gz: '04185a0888a48b3e967c4a0e2df22d83081c55b1807fd8f049ac2d4c3f4eb772eb9722fa41ca7c30c36261d2e551461dad82e7b68b79493c3a779101d0968f95'
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 Justin Law
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# Really Simple.
|
2
|
+
|
3
|
+
Really Simple is a really simple [Jekyll](https://jekyllrb.com) theme. It is barebones and is meant to get a site with blogging up very quickly. The Really Simple design is basic yet esthetically pleasing. In other words it's good enough for an MVP.
|
4
|
+
|
5
|
+
There are no bells and no whistles. Those can be added later -- when the author is ready.
|
6
|
+
|
7
|
+
## The Story
|
8
|
+
|
9
|
+
I had been struggling to find a a really simple Jekyll theme that supported blogging out of the box. It was either esthetically not pleasing to me or that it had too many bells and whistles forcing me to think about things I did not wish to have to think about immediately. I just wanted to launch.
|
10
|
+
|
11
|
+
While flying from Los Angeles (LAX) to San Diego (SAN) our flight was refused landing due to fog. We had to turn back to LAX. After landing back in LAX, Delta booked a bus to drive us to SAN instead. It was late, I couldn't sleep. I was inspired to create and I had time to burn.
|
12
|
+
|
13
|
+
So, I hacked this together during the two hour bus ride.
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
This Really Simple Jekyll theme is a gem.
|
17
|
+
|
18
|
+
In your `Gemfile` add the line:
|
19
|
+
|
20
|
+
```
|
21
|
+
gem 'really-simple'
|
22
|
+
```
|
23
|
+
|
24
|
+
In your `_config.yml` file specify the theme:
|
25
|
+
|
26
|
+
```yml
|
27
|
+
theme: really-simple
|
28
|
+
```
|
29
|
+
|
30
|
+
And then execute:
|
31
|
+
```
|
32
|
+
$ bundle
|
33
|
+
```
|
34
|
+
|
35
|
+
Now create or update your `archives.md` in the project root folder. Specify the archives layout:
|
36
|
+
|
37
|
+
```
|
38
|
+
---
|
39
|
+
layout: archives
|
40
|
+
---
|
41
|
+
```
|
42
|
+
Any content in this file will be included in the page.
|
43
|
+
|
44
|
+
Alternately you can simply fork this repo and go from there.
|
45
|
+
|
46
|
+
## Contributions
|
47
|
+
Bug reports and pull requests are most welcome.
|
48
|
+
|
49
|
+
## License
|
50
|
+
Available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="home">
|
6
|
+
|
7
|
+
{{ content }}
|
8
|
+
|
9
|
+
<ul class="post-list">
|
10
|
+
{% for post in site.posts %}
|
11
|
+
<li>
|
12
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
13
|
+
<h3 class="post-title">
|
14
|
+
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
15
|
+
</h3>
|
16
|
+
<span class="post-meta">posted on {{ post.date | date: date_format }}</span>
|
17
|
+
</li>
|
18
|
+
{% endfor %}
|
19
|
+
</ul>
|
20
|
+
</div>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
<title>{{ site.title | escape }}</title>
|
7
|
+
<link rel="stylesheet" href="{{ "assets/main.css" | relative_url }}">
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<div class="content">
|
11
|
+
<div class="header">
|
12
|
+
<a class="title" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
13
|
+
<span class="nav">» <a href="{{ "archives" | relative_url }}">archives</a> » <a href="{{ "about" | relative_url }}">about</a></span>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
{{ content }}
|
17
|
+
|
18
|
+
<div class="footer">
|
19
|
+
All Rights Reserved © 2017 {{ site.title | escape }}
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</body>
|
23
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="home">
|
6
|
+
|
7
|
+
{{ content }}
|
8
|
+
|
9
|
+
<ul class="post-list">
|
10
|
+
{% for post in site.posts limit:3 %}
|
11
|
+
<li>
|
12
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
13
|
+
<h1 class="post-title">
|
14
|
+
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
15
|
+
</h1>
|
16
|
+
<span class="post-meta">posted on {{ post.date | date: date_format }}</span>
|
17
|
+
<div class="post-content">
|
18
|
+
{{ post.content }}
|
19
|
+
</div>
|
20
|
+
</li>
|
21
|
+
{% endfor %}
|
22
|
+
</ul>
|
23
|
+
|
24
|
+
<a class="post-link" href="{{ "pages/archives" | relative_url }}">More...</a>
|
25
|
+
</div>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
6
|
+
<h1 class="post-title">
|
7
|
+
<a class="post-link" href="{{ page.url | relative_url }}">{{ page.title | escape }}</a>
|
8
|
+
</h1>
|
9
|
+
<span class="post-meta">posted on {{ page.date | date: date_format }}</span>
|
10
|
+
<div class="post-content">
|
11
|
+
{{ page.content }}
|
12
|
+
</div>
|
data/_sass/_simple.scss
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
body {
|
2
|
+
font-family: Georgia, Cambria, 'Josefin Slab';
|
3
|
+
color: #333;
|
4
|
+
}
|
5
|
+
|
6
|
+
.header {
|
7
|
+
color: #999;
|
8
|
+
padding-top: 20px;
|
9
|
+
padding-bottom: 20px;
|
10
|
+
|
11
|
+
.title {
|
12
|
+
font-size:1.5em;
|
13
|
+
text-decoration: none;
|
14
|
+
color: #999;
|
15
|
+
}
|
16
|
+
|
17
|
+
.nav {
|
18
|
+
margin-top:5px;
|
19
|
+
margin-left:20px;
|
20
|
+
font-size:1em;
|
21
|
+
float:right;
|
22
|
+
white-space: nowrap;
|
23
|
+
|
24
|
+
a {
|
25
|
+
color: #999;
|
26
|
+
text-decoration: none;
|
27
|
+
|
28
|
+
&:hover {
|
29
|
+
color: darken(#999, 20%);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.footer {
|
36
|
+
color: #999;
|
37
|
+
padding-top: 20px;
|
38
|
+
padding-bottom: 20px;
|
39
|
+
border-top: 1px solid #ddd;
|
40
|
+
margin-top: 70px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.content {
|
44
|
+
width: 70%;
|
45
|
+
margin: 0 auto;
|
46
|
+
|
47
|
+
h1, h2, h3, h4, h5, h6 {
|
48
|
+
font-family: "Lucida Grande", verdana, 'Lato', sans-serif;
|
49
|
+
color: #222;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.post-list {
|
54
|
+
margin-left: 0;
|
55
|
+
list-style: none;
|
56
|
+
padding:0;
|
57
|
+
|
58
|
+
> li {
|
59
|
+
margin-bottom: 47px;
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
}
|
64
|
+
|
65
|
+
.post-meta {
|
66
|
+
color: #999;
|
67
|
+
font-size: 0.9em;
|
68
|
+
}
|
69
|
+
|
70
|
+
.post-title { margin-bottom: 5px; }
|
71
|
+
|
72
|
+
.post-link {
|
73
|
+
color: #ff9b0b;
|
74
|
+
text-decoration: none;
|
75
|
+
|
76
|
+
&:hover {
|
77
|
+
color: darken(#ff9b0b, 10%);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
.post-content {
|
82
|
+
line-height: 1.5em;
|
83
|
+
a {
|
84
|
+
color:#111;
|
85
|
+
color: #0090B2;
|
86
|
+
text-decoration:none;
|
87
|
+
|
88
|
+
&:hover {
|
89
|
+
color: #FF7A00;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
code { background: #eee; padding:3px; border-radius: 2px; }
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Tables
|
98
|
+
*/
|
99
|
+
table {
|
100
|
+
margin-bottom: 30px;
|
101
|
+
width: 100%;
|
102
|
+
text-align: left;
|
103
|
+
border-collapse: collapse;
|
104
|
+
border: 1px solid #eee;
|
105
|
+
tr {
|
106
|
+
&:nth-child(even) {
|
107
|
+
background-color: lighten(#eee, 6%);
|
108
|
+
}
|
109
|
+
}
|
110
|
+
th, td {
|
111
|
+
padding: 10px 10px;
|
112
|
+
}
|
113
|
+
th {
|
114
|
+
background-color: lighten(#eee, 3%);
|
115
|
+
border: 1px solid darken(#eee, 4%);
|
116
|
+
border-bottom-color: darken(#eee, 12%);
|
117
|
+
}
|
118
|
+
td {
|
119
|
+
border: 1px solid #eee;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
blockquote {
|
124
|
+
color: #999;
|
125
|
+
border-left: 5px solid #eee;
|
126
|
+
padding: 10px 10px 10px 20px;
|
127
|
+
background: lighten(#999, 37%);
|
128
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/**
|
2
|
+
* Syntax highlighting styles
|
3
|
+
* Adapted from https://github.com/jekyll/minima/blob/master/_sass/minima/_syntax-highlighting.scss
|
4
|
+
*/
|
5
|
+
.highlight {
|
6
|
+
background: #eee;
|
7
|
+
padding: 3px 5px 3px 10px;
|
8
|
+
border-radius: 10px;
|
9
|
+
margin-bottom: 30px;
|
10
|
+
margin-left: 20px;
|
11
|
+
|
12
|
+
.c { color: #998; font-style: italic } // Comment
|
13
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
14
|
+
.k { font-weight: bold } // Keyword
|
15
|
+
.o { font-weight: bold } // Operator
|
16
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
17
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
18
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
19
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
20
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
21
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
22
|
+
.ge { font-style: italic } // Generic.Emph
|
23
|
+
.gr { color: #a00 } // Generic.Error
|
24
|
+
.gh { color: #999 } // Generic.Heading
|
25
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
26
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
27
|
+
.go { color: #888 } // Generic.Output
|
28
|
+
.gp { color: #555 } // Generic.Prompt
|
29
|
+
.gs { font-weight: bold } // Generic.Strong
|
30
|
+
.gu { color: #aaa } // Generic.Subheading
|
31
|
+
.gt { color: #a00 } // Generic.Traceback
|
32
|
+
.kc { font-weight: bold } // Keyword.Constant
|
33
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
34
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
35
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
36
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
37
|
+
.m { color: #099 } // Literal.Number
|
38
|
+
.s { color: #d14 } // Literal.String
|
39
|
+
.na { color: #008080 } // Name.Attribute
|
40
|
+
.nb { color: #0086B3 } // Name.Builtin
|
41
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
42
|
+
.no { color: #008080 } // Name.Constant
|
43
|
+
.ni { color: #800080 } // Name.Entity
|
44
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
45
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
46
|
+
.nn { color: #555 } // Name.Namespace
|
47
|
+
.nt { color: #000080 } // Name.Tag
|
48
|
+
.nv { color: #008080 } // Name.Variable
|
49
|
+
.ow { font-weight: bold } // Operator.Word
|
50
|
+
.w { color: #bbb } // Text.Whitespace
|
51
|
+
.mf { color: #099 } // Literal.Number.Float
|
52
|
+
.mh { color: #099 } // Literal.Number.Hex
|
53
|
+
.mi { color: #099 } // Literal.Number.Integer
|
54
|
+
.mo { color: #099 } // Literal.Number.Oct
|
55
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
56
|
+
.sc { color: #d14 } // Literal.String.Char
|
57
|
+
.sd { color: #d14 } // Literal.String.Doc
|
58
|
+
.s2 { color: #d14 } // Literal.String.Double
|
59
|
+
.se { color: #d14 } // Literal.String.Escape
|
60
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
61
|
+
.si { color: #d14 } // Literal.String.Interpol
|
62
|
+
.sx { color: #d14 } // Literal.String.Other
|
63
|
+
.sr { color: #009926 } // Literal.String.Regex
|
64
|
+
.s1 { color: #d14 } // Literal.String.Single
|
65
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
66
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
67
|
+
.vc { color: #008080 } // Name.Variable.Class
|
68
|
+
.vg { color: #008080 } // Name.Variable.Global
|
69
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
70
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
71
|
+
}
|
data/assets/main.scss
ADDED
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: really-simple
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- jusx
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-11-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- hello@justinlaw.org
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE
|
63
|
+
- README.md
|
64
|
+
- _layouts/archives.html
|
65
|
+
- _layouts/default.html
|
66
|
+
- _layouts/home.html
|
67
|
+
- _layouts/post.html
|
68
|
+
- _sass/_simple.scss
|
69
|
+
- _sass/_syntax-highlighting.scss
|
70
|
+
- assets/main.scss
|
71
|
+
homepage: https://github.com/jusx/really-simple
|
72
|
+
licenses:
|
73
|
+
- MIT
|
74
|
+
metadata: {}
|
75
|
+
post_install_message:
|
76
|
+
rdoc_options: []
|
77
|
+
require_paths:
|
78
|
+
- lib
|
79
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
requirements: []
|
90
|
+
rubyforge_project:
|
91
|
+
rubygems_version: 2.6.14
|
92
|
+
signing_key:
|
93
|
+
specification_version: 4
|
94
|
+
summary: Really Simple Jekyll theme. Barebones to quickly launch a blog.
|
95
|
+
test_files: []
|