Skip to content

Commit 5bc6ee6

Browse files
committed
Update portpolio multi label
1 parent 31a80f8 commit 5bc6ee6

32 files changed

+1517
-148
lines changed

404.html

+32-23
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,34 @@
11
---
2-
permalink: /404.html
3-
layout: default
2+
title: Page Not Found
43
---
5-
6-
<style type="text/css" media="screen">
7-
.container {
8-
margin: 10px auto;
9-
max-width: 600px;
10-
text-align: center;
11-
}
12-
h1 {
13-
margin: 30px 0;
14-
font-size: 4em;
15-
line-height: 1;
16-
letter-spacing: -1px;
17-
}
18-
</style>
19-
20-
<div class="container">
21-
<h1>404</h1>
22-
23-
<p><strong>Page not found :(</strong></p>
24-
<p>The requested page could not be found.</p>
25-
</div>
4+
<!DOCTYPE html>
5+
<html lang="en">
6+
<head>
7+
{%- include head.html -%}
8+
<style>
9+
h2 {
10+
font-feature-settings: "lnum";
11+
background-color: #ddd;
12+
width: 140px;
13+
height: 140px;
14+
border-radius: 100%;
15+
display: flex;
16+
justify-content: center;
17+
align-items: center
18+
}
19+
body {
20+
display: flex;
21+
justify-content: center;
22+
align-items: center;
23+
flex-direction: column;
24+
font-size: 20px;
25+
height: 80vh;
26+
}
27+
p {text-align: center; line-height: 2em;}
28+
</style>
29+
</head>
30+
<body>
31+
<h2>404</h2>
32+
<p>Page not found.</p>
33+
</body>
34+
</html>

Gemfile

+3-29
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,4 @@
1-
source "https://rubygems.org"
2-
# Hello! This is where you manage which Jekyll version is used to run.
3-
# When you want to use a different version, change it below, save the
4-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5-
#
6-
# bundle exec jekyll serve
7-
#
8-
# This will help ensure the proper Jekyll version is running.
9-
# Happy Jekylling!
10-
gem "jekyll", "~> 4.0.0"
11-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12-
gem "minima", "~> 2.5"
13-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15-
# gem "github-pages", group: :jekyll_plugins
16-
# If you have any plugins, put them here!
17-
group :jekyll_plugins do
18-
gem "jekyll-feed", "~> 0.12"
19-
end
20-
21-
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
22-
# and associated library.
23-
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
24-
gem "tzinfo", "~> 1.2"
25-
gem "tzinfo-data"
26-
end
27-
28-
# Performance-booster for watching directories on Windows
29-
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
1+
# frozen_string_literal: true
302

3+
source "https://rubygems.org"
4+
gemspec

Gemfile.lock

+11-18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
PATH
2+
remote: .
3+
specs:
4+
plainwhite (0.9)
5+
jekyll (>= 3.7.3)
6+
jekyll-seo-tag (>= 2.1.0)
7+
18
GEM
29
remote: https://rubygems.org/
310
specs:
@@ -29,8 +36,6 @@ GEM
2936
rouge (~> 3.0)
3037
safe_yaml (~> 1.0)
3138
terminal-table (~> 1.8)
32-
jekyll-feed (0.13.0)
33-
jekyll (>= 3.7, < 5.0)
3439
jekyll-sass-converter (2.1.0)
3540
sassc (> 2.0.1, < 3.0)
3641
jekyll-seo-tag (2.6.1)
@@ -46,13 +51,10 @@ GEM
4651
rb-fsevent (~> 0.10, >= 0.10.3)
4752
rb-inotify (~> 0.9, >= 0.9.10)
4853
mercenary (0.3.6)
49-
minima (2.5.1)
50-
jekyll (>= 3.5, < 5.0)
51-
jekyll-feed (~> 0.9)
52-
jekyll-seo-tag (~> 2.1)
5354
pathutil (0.16.2)
5455
forwardable-extended (~> 2.6)
5556
public_suffix (4.0.4)
57+
rake (12.3.3)
5658
rb-fsevent (0.10.4)
5759
rb-inotify (0.10.1)
5860
ffi (~> 1.0)
@@ -63,24 +65,15 @@ GEM
6365
ffi (~> 1.9)
6466
terminal-table (1.8.0)
6567
unicode-display_width (~> 1.1, >= 1.1.1)
66-
thread_safe (0.3.6)
67-
tzinfo (1.2.7)
68-
thread_safe (~> 0.1)
69-
tzinfo-data (1.2020.1)
70-
tzinfo (>= 1.0.0)
7168
unicode-display_width (1.7.0)
72-
wdm (0.1.1)
7369

7470
PLATFORMS
7571
x64-mingw32
7672

7773
DEPENDENCIES
78-
jekyll (~> 4.0.0)
79-
jekyll-feed (~> 0.12)
80-
minima (~> 2.5)
81-
tzinfo (~> 1.2)
82-
tzinfo-data
83-
wdm (~> 0.1.1)
74+
bundler (> 1.16)
75+
plainwhite!
76+
rake (~> 12.0)
8477

8578
BUNDLED WITH
8679
2.1.4

LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2019 Samarjeet
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
13+
all 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
21+
THE SOFTWARE.

README.md

+146-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,146 @@
1-
# Song portpolio
1+
# plainwhite
2+
3+
Simplistic jekyll portfolio-style theme for writers.
4+
5+
**Demo**: [thelehhman.com](https://thelehhman.com)
6+
7+
![plainwhite theme preview](/screenshot.png)
8+
9+
## Installation on Github Pages
10+
11+
Add this line to your site's `_config.yml`:
12+
13+
```yaml
14+
remote_theme: thelehhman/plainwhite-jekyll
15+
```
16+
17+
## Installation
18+
19+
Add this line to your Jekyll site's `Gemfile`:
20+
21+
```ruby
22+
gem "plainwhite"
23+
```
24+
25+
And add this line to your Jekyll site's `_config.yml`:
26+
27+
```yaml
28+
theme: plainwhite
29+
```
30+
31+
And then execute:
32+
33+
$ bundle
34+
35+
Or install it yourself as:
36+
37+
$ gem install plainwhite
38+
39+
## Usage
40+
41+
The "plainwhite" key in \_config.yml is used to customize the theme data.
42+
43+
```yaml
44+
plainwhite:
45+
name: Adam Denisov
46+
tagline: Developer. Designer
47+
date_format: "%b %-d, %Y"
48+
49+
social_links:
50+
twitter: thelehhman
51+
github: thelehhman
52+
linkedIn: in/thelehhman # format: locale/username
53+
```
54+
55+
**Updating Placeholder Image**
56+
57+
The placeholder portfolio image can be replaced by the desired image by placing it as `assets/portfolio.png` in your jekyll website.
58+
59+
**Comments (Disqus)**
60+
61+
Comments on posts can be enabled by specifying your disqus_shortname under plainwhite in `_config.yml`. For example,
62+
63+
```yaml
64+
plainwhite:
65+
disqus_shortname: games
66+
```
67+
68+
**Google Analytics**
69+
70+
It can be enabled by specifying your analytics id under plainwhite in `_config.yml`
71+
72+
```yaml
73+
plainwhite:
74+
analytics_id: "< YOUR ID >"
75+
```
76+
77+
**Sitemap**
78+
79+
It can be toggled by the following line to under plainwhite in `_config.yml`
80+
81+
```yaml
82+
plainwhite:
83+
sitemap: true
84+
```
85+
86+
**Excerpts**
87+
88+
Excerpts can be enabled by adding the following line to your `_config.yml`
89+
90+
```yaml
91+
show_excerpts: true
92+
```
93+
94+
**Layouts**
95+
96+
- Home
97+
- Page
98+
- Post
99+
100+
**Navigation**
101+
102+
Navigation can be enabled by adding the following line to your `_config.yml`
103+
104+
```yaml
105+
plainwhite:
106+
navigation:
107+
- title: My Work
108+
url: "/my-work"
109+
- title: Resume
110+
url: "/resume"
111+
```
112+
113+
**Multiline tagline**
114+
115+
Tagline can be multiline in this way
116+
117+
```yaml
118+
plainwhite:
119+
tagline: |
120+
First Line.
121+
122+
Second Line.
123+
124+
Third Line.
125+
```
126+
127+
## Contributing
128+
129+
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.
130+
131+
## Development
132+
133+
To set up your environment to develop this theme, run `bundle install`.
134+
135+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
136+
137+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
138+
To add a custom directory to your theme-gem, please edit the regexp in `plainwhite.gemspec` accordingly.
139+
140+
## License
141+
142+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
143+
144+
## More themes
145+
146+
- [Texture](https://github.com/thelehhman/texture)

0 commit comments

Comments
 (0)