plainwhite 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +25 -3
- data/_layouts/home.html +3 -0
- data/_layouts/page.html +8 -0
- data/_sass/plain.scss +13 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6bb456ad516a1924421c95ba97bc6a7d6701fce
|
4
|
+
data.tar.gz: 16c6bd8713092f2d13ca3c58ad5398446224f3ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb8b8cbad35171bc45cafb8db4fb828c7bc1b0613f38d048dca2bb440f52ce4c6188772dd2dea7d0be7426a6e58aa74f3792afc8328a96d7062f176e9ef22788
|
7
|
+
data.tar.gz: 50f687a973bb8ea107f29940f3403df55172f52f4ba91da75300d108aa0d0966ba9306d0a629a55e3c59c7af606c08f9039f7e88e718c6afc61bb2961ff84887
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# plainwhite
|
2
2
|
|
3
|
-
Simplistic jekyll theme for writers.
|
3
|
+
Simplistic jekyll portfolio-style theme for writers.
|
4
4
|
|
5
5
|

|
6
6
|
|
@@ -29,11 +29,33 @@ Or install it yourself as:
|
|
29
29
|
|
30
30
|
## Usage
|
31
31
|
|
32
|
-
|
32
|
+
The "plainwhite" key in _config.yml is used to customize the theme data.
|
33
|
+
```yaml
|
34
|
+
plainwhite:
|
35
|
+
name: Adam Denisov
|
36
|
+
tagline: Developer. Designer
|
37
|
+
date_format: "%b %-d, %Y"
|
38
|
+
|
39
|
+
social_links:
|
40
|
+
twitter: thelehhman
|
41
|
+
github: thelehhman
|
42
|
+
linkedIn: in/thelehhman # format: locale/username
|
43
|
+
```
|
44
|
+
The placeholder portfolio image can be replaced by the desired image by placing it as `assets/portfolio.png` in your jekyll website.
|
45
|
+
|
46
|
+
**Excerpts**
|
47
|
+
Excerpts can be enabled by adding the following line to your `_config.yml`
|
48
|
+
```yaml
|
49
|
+
show_excerpts: true
|
50
|
+
```
|
51
|
+
**Layouts**
|
52
|
+
- Home
|
53
|
+
- Page
|
54
|
+
- Post
|
33
55
|
|
34
56
|
## Contributing
|
35
57
|
|
36
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
58
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/thelehhman/plainwhite-jekyll. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
37
59
|
|
38
60
|
## Development
|
39
61
|
|
data/_layouts/home.html
CHANGED
@@ -11,6 +11,9 @@ layout: default
|
|
11
11
|
{%- if site.posts.size > 0 -%}
|
12
12
|
<ul class="posts">
|
13
13
|
{%- for post in site.posts -%}
|
14
|
+
<li>
|
15
|
+
<h1 id="posts-label">posts</h1>
|
16
|
+
</li>
|
14
17
|
<li>
|
15
18
|
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
16
19
|
<a class="post-link" href="{{ post.url | relative_url }}">
|
data/_layouts/page.html
ADDED
data/_sass/plain.scss
CHANGED
@@ -32,6 +32,9 @@ a {
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
35
|
+
h2 {
|
36
|
+
margin: 0.7em 0;
|
37
|
+
}
|
35
38
|
main {
|
36
39
|
margin: 0 90px;
|
37
40
|
@media screen and (min-width: $bigScreenW) {
|
@@ -156,4 +159,14 @@ main {
|
|
156
159
|
font-weight: 300;
|
157
160
|
color: #222;
|
158
161
|
line-height: 1.9em;
|
162
|
+
}
|
163
|
+
|
164
|
+
#posts-label {
|
165
|
+
border-bottom: 1px solid #eee;
|
166
|
+
font-size: 15px;
|
167
|
+
color: #777;
|
168
|
+
text-transform: uppercase;
|
169
|
+
letter-spacing: 0.5px;
|
170
|
+
padding-bottom: 10px;
|
171
|
+
font-weight: normal;
|
159
172
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plainwhite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samarjeet
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- README.md
|
64
64
|
- _layouts/default.html
|
65
65
|
- _layouts/home.html
|
66
|
+
- _layouts/page.html
|
66
67
|
- _layouts/post.html
|
67
68
|
- _sass/_syntax.scss
|
68
69
|
- _sass/ext/_fonts.scss
|