plainwhite 0.11 → 0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8868e1b4f14a6e1ad09b1a218ada51668eb5aed9
4
- data.tar.gz: a2c89fd681f41d01da9ca7db577a3ed6fd6bfc64
3
+ metadata.gz: 612450b0f669f05f7c45a5318084175d095f8e7a
4
+ data.tar.gz: 07f3628977e701e2bc0ac3c5c2db30ed1eb3d1b8
5
5
  SHA512:
6
- metadata.gz: 8d78889ef3b0cb554ae63036f7f46e66370eaa229cd8356fb4c292e8c00414a48e72d279521dbc566347ebd01e906efa9d4d4509f298bd90de088c02d770af4b
7
- data.tar.gz: cf4cb0cc42f1c38df204a33ed00c9deb8a0051d19090d94ef134db8cdcf1384523ec02fa1e5c82ca0a61f77aa8797a035f9a9b3e14c087d8542a0a57a5de789f
6
+ metadata.gz: 24bca9695362f553e69c4ea8329dd45acd2a50e9dfc52f4b964641486e289d0882ac6766b05bf56271a4ac469f61adceff7fe9a632efecf15606e543fd8ad914
7
+ data.tar.gz: 6c03df00cfd192179477eeff99819adf7126c721c504e3e330835b4b74c0f39b183249bfc3daf445ce543edae6ddbc84c7f06116d31257224adf41c8b5054f5c
data/README.md CHANGED
@@ -11,7 +11,7 @@ Simplistic jekyll portfolio-style theme for writers.
11
11
  Add this line to your site's `_config.yml`:
12
12
 
13
13
  ```yaml
14
- remote_theme: thelehhman/plainwhite-jekyll
14
+ remote_theme: samarsault/plainwhite-jekyll
15
15
  ```
16
16
 
17
17
  ## Installation
@@ -47,14 +47,19 @@ plainwhite:
47
47
  date_format: "%b %-d, %Y"
48
48
 
49
49
  social_links:
50
- twitter: thelehhman
51
- github: thelehhman
52
- linkedIn: in/thelehhman # format: locale/username
50
+ twitter: samarsault
51
+ github: samarsault
52
+ linkedIn: in/samarsault # format: locale/username
53
53
  ```
54
54
 
55
55
  **Updating Placeholder Image**
56
56
 
57
- The placeholder portfolio image can be replaced by the desired image by placing it as `assets/portfolio.png` in your jekyll website.
57
+ The placeholder portfolio image can be replaced by the desired image by placing it as `assets/portfolio.png` in your jekyll website, or by changing the following line in `_config.yaml`
58
+
59
+ ```yaml
60
+ plainwhite:
61
+ portfolio_image: "assets/portfolio.png" # the path from the base directory of the site to the image to display (no / at the start)
62
+ ```
58
63
 
59
64
  **Comments (Disqus)**
60
65
 
@@ -148,9 +153,28 @@ plainwhite:
148
153
 
149
154
  Search is powered by [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search) Jekyll plugin. A `search.json` containing post meta and contents will be generated in site root folder. Plugin JavaScript will then match for posts based on user input. More info and `search.json` customization documentation can be found in plugin repository.
150
155
 
156
+ **Base URL**
157
+
158
+ You can specify a custom base URL (eg. example.com/blog/) by adding the following line to `_config.yaml`. Note that there is no trailing slash on the URL.
159
+
160
+ ```yaml
161
+ baseurl: "/blog"
162
+ ```
163
+
164
+ **Language**
165
+
166
+ You can set the `lang` attribute of the `<html>` tag on your pages by changing the following line in `_config.yml`:
167
+
168
+ ```yaml
169
+ plainwhite:
170
+ html_lang: "en"
171
+ ```
172
+
173
+ [See here for a full list of available language codes](https://www.w3schools.com/tags/ref_country_codes.asp)
174
+
151
175
  ## Contributing
152
176
 
153
- 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.
177
+ Bug reports and pull requests are welcome on GitHub at https://github.com/samarsault/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.
154
178
 
155
179
  ## Development
156
180
 
@@ -172,4 +196,4 @@ The theme is available as open source under the terms of the [MIT License](https
172
196
 
173
197
  ## More themes
174
198
 
175
- - [Texture](https://github.com/thelehhman/texture)
199
+ - [Texture](https://github.com/samarsault/texture)
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en">
2
+ <html lang="{{ site.plainwhite.html_lang }}">
3
3
 
4
4
  <head>
5
5
  {%- include head.html -%}
@@ -8,75 +8,96 @@
8
8
  <body>
9
9
  <main class="container">
10
10
  <section class="about">
11
- <a href="/"><img src="{{ "/assets/portfolio.png" | relative_url }}" alt="{{ site.plainwhite.name }}"></a>
11
+ <a href="{{ "/" | relative_url}}"><img src="{{site.baseurl }}/{{ site.plainwhite.portfolio_image }}" alt="{{ site.plainwhite.name }}"></a>
12
12
  <h2 id="title">
13
- <a href="/">{{ site.plainwhite.name }}</a>
13
+ <a href="{{ "/" | relative_url }}">{{ site.plainwhite.name }}</a>
14
14
  </h2>
15
15
  <p class="tagline">{{ site.plainwhite.tagline }}</p>
16
16
  <ul class="social">
17
17
  {%- if site.plainwhite.social_links.github -%}
18
- <a href="https://github.com/{{ site.plainwhite.social_links.github }}">
18
+ <a href="https://github.com/{{ site.plainwhite.social_links.github }}" target="_blank">
19
19
  <li>
20
20
  <i class="icon-github-circled"></i>
21
21
  </li>
22
22
  </a>
23
+ {%- endif -%}
24
+ {%- if site.plainwhite.social_links.gitlab -%}
25
+ <a href="https://gitlab.com/{{ site.plainwhite.social_links.gitlab }}" target="_blank">
26
+ <li>
27
+ <i class="icon-gitlab"></i>
28
+ </li>
29
+ </a>
23
30
  {%- endif -%}
24
31
  {%- if site.plainwhite.social_links.linkedIn -%}
25
- <a href="https://www.linkedin.com/{{ site.plainwhite.social_links.linkedIn }}">
32
+ <a href="https://www.linkedin.com/{{ site.plainwhite.social_links.linkedIn }}" target="_blank">
26
33
  <li>
27
34
  <i class="icon-linkedin-squared"></i>
28
35
  </li>
29
36
  </a>
30
37
  {%- endif -%}
31
38
  {%- if site.plainwhite.social_links.twitter -%}
32
- <a href="https://twitter.com/{{ site.plainwhite.social_links.twitter }}">
39
+ <a href="https://twitter.com/{{ site.plainwhite.social_links.twitter }}" target="_blank">
33
40
  <li>
34
41
  <i class="icon-twitter-squared"></i>
35
42
  </li>
36
43
  </a>
37
44
  {%- endif -%}
38
45
  {%- if site.plainwhite.social_links.instagram -%}
39
- <a href="https://instagram.com/{{ site.plainwhite.social_links.instagram }}">
46
+ <a href="https://instagram.com/{{ site.plainwhite.social_links.instagram }}" target="_blank">
40
47
  <li>
41
48
  <i class="icon-instagram"></i>
42
49
  </li>
43
50
  </a>
44
51
  {%- endif -%}
45
52
  {%- if site.plainwhite.social_links.facebook -%}
46
- <a href="https://facebook.com/{{ site.plainwhite.social_links.facebook }}">
53
+ <a href="https://facebook.com/{{ site.plainwhite.social_links.facebook }}" target="_blank">
47
54
  <li>
48
- <i class="icon-facebook"></i>
55
+ <i class="icon-facebook-squared"></i>
49
56
  </li>
50
57
  </a>
51
58
  {%- endif -%}
52
59
  {%- if site.plainwhite.social_links.youtube -%}
53
- <a href="https://youtube.com/{{ site.plainwhite.social_links.youtube }}">
60
+ <a href="https://youtube.com/{{ site.plainwhite.social_links.youtube }}" target="_blank">
54
61
  <li>
55
62
  <i class="icon-youtube"></i>
56
63
  </li>
57
64
  </a>
58
65
  {%- endif -%}
59
66
  {%- if site.plainwhite.social_links.pinterest -%}
60
- <a href="https://pinterest.com/{{ site.plainwhite.social_links.pinterest }}">
67
+ <a href="https://pinterest.com/{{ site.plainwhite.social_links.pinterest }}" target="_blank">
61
68
  <li>
62
- <i class="icon-pinterest"></i>
69
+ <i class="icon-pinterest-squared"></i>
63
70
  </li>
64
71
  </a>
65
72
  {%- endif -%}
66
73
  {%- if site.plainwhite.social_links.dribbble -%}
67
- <a href="https://dribbble.com/{{ site.plainwhite.social_links.dribbble }}">
74
+ <a href="https://dribbble.com/{{ site.plainwhite.social_links.dribbble }}" target="_blank">
68
75
  <li>
69
76
  <i class="icon-dribbble"></i>
70
77
  </li>
71
78
  </a>
72
79
  {%- endif -%}
73
80
  {%- if site.plainwhite.social_links.flickr -%}
74
- <a href="https://flickr.com/{{ site.plainwhite.social_links.flickr }}">
81
+ <a href="https://flickr.com/{{ site.plainwhite.social_links.flickr }}" target="_blank">
75
82
  <li>
76
83
  <i class="icon-flickr"></i>
77
84
  </li>
78
85
  </a>
79
86
  {%- endif -%}
87
+ {%- if site.plainwhite.social_links.telegram -%}
88
+ <a href=" https://t.me/{{ site.plainwhite.social_links.telegram }}" target="_blank">
89
+ <li>
90
+ <i class="icon-telegram"></i>
91
+ </li>
92
+ </a>
93
+ {%- endif -%}
94
+ {%- if site.plainwhite.social_links.soundcloud -%}
95
+ <a href=" https://soundcloud.com/{{ site.plainwhite.social_links.soundcloud }}" target="_blank">
96
+ <li>
97
+ <i class="icon-soundcloud"></i>
98
+ </li>
99
+ </a>
100
+ {%- endif -%}
80
101
  </ul>
81
102
  {%- if site.plainwhite.navigation -%}
82
103
  <nav class="navigation">
@@ -101,7 +122,7 @@
101
122
  </label>
102
123
  </p>
103
124
  </div>
104
- <script type="text/javascript" src="/assets/js/darkmode.js"></script>
125
+ <script type="text/javascript" src="{{ "/assets/js/darkmode.js" | relative_url }}"></script>
105
126
  {%- endif -%}
106
127
  </section>
107
128
  <section class="content">
@@ -119,8 +140,8 @@
119
140
  {%- endif -%}
120
141
 
121
142
  {% if site.plainwhite.search %}
122
- <script src="/assets/js/simple-jekyll-search.min.js"></script>
123
- <script src="/assets/js/search.js"></script>
143
+ <script src="{{ "/assets/js/simple-jekyll-search.min.js" | relative_url }}"></script>
144
+ <script src="{{ "/assets/js/search.js" | relative_url }}"></script>
124
145
  {% endif %}
125
146
  </body>
126
147
 
@@ -1,11 +1,11 @@
1
1
  @font-face {
2
2
  font-family: 'fontello';
3
- src: url('../font/fontello.eot?94162162');
4
- src: url('../font/fontello.eot?94162162#iefix') format('embedded-opentype'),
5
- url('../font/fontello.woff2?94162162') format('woff2'),
6
- url('../font/fontello.woff?94162162') format('woff'),
7
- url('../font/fontello.ttf?94162162') format('truetype'),
8
- url('../font/fontello.svg?94162162#fontello') format('svg');
3
+ src: url('../font/fontello.eot?37382099');
4
+ src: url('../font/fontello.eot?37382099#iefix') format('embedded-opentype'),
5
+ url('../font/fontello.woff2?37382099') format('woff2'),
6
+ url('../font/fontello.woff?37382099') format('woff'),
7
+ url('../font/fontello.ttf?37382099') format('truetype'),
8
+ url('../font/fontello.svg?37382099#fontello') format('svg');
9
9
  font-weight: normal;
10
10
  font-style: normal;
11
11
  }
@@ -15,7 +15,7 @@
15
15
  @media screen and (-webkit-min-device-pixel-ratio:0) {
16
16
  @font-face {
17
17
  font-family: 'fontello';
18
- src: url('../font/fontello.svg?94162162#fontello') format('svg');
18
+ src: url('../font/fontello.svg?37382099#fontello') format('svg');
19
19
  }
20
20
  }
21
21
  */
@@ -24,7 +24,7 @@
24
24
  font-family: "fontello";
25
25
  font-style: normal;
26
26
  font-weight: normal;
27
- speak: none;
27
+ speak: never;
28
28
 
29
29
  display: inline-block;
30
30
  text-decoration: inherit;
@@ -56,13 +56,17 @@
56
56
  }
57
57
 
58
58
  .icon-calendar:before { content: '\e800'; } /* '' */
59
+ .icon-calendar-1:before { content: '\e801'; } /* '' */
59
60
  .icon-search:before { content: '\e805'; } /* '' */
60
61
  .icon-github-circled:before { content: '\f09b'; } /* '' */
62
+ .icon-pinterest-squared:before { content: '\f0d3'; } /* '' */
63
+ .icon-youtube:before { content: '\f167'; } /* '' */
64
+ .icon-instagram:before { content: '\f16d'; } /* '' */
65
+ .icon-flickr:before { content: '\f16e'; } /* '' */
66
+ .icon-dribbble:before { content: '\f17d'; } /* '' */
67
+ .icon-gitlab:before { content: '\f296'; } /* '' */
68
+ .icon-telegram:before { content: '\f2c6'; } /* '' */
61
69
  .icon-twitter-squared:before { content: '\f304'; } /* '' */
70
+ .icon-facebook-squared:before { content: '\f308'; } /* '' */
62
71
  .icon-linkedin-squared:before { content: '\f30c'; } /* '' */
63
- .icon-instagram:before { content: '\f16d'; } /* '' */
64
- .icon-facebook:before { content: '\f308'; } /* '' */
65
- .icon-youtube:before { content: '\f167'; } /* '' */
66
- .icon-dribbble:before { content: '\f17d'; } /* '' */
67
- .icon-flickr:before { content: '\f16e'; } /* '' */
68
-
72
+ .icon-soundcloud:before { content: '\f348'; } /* '' */
@@ -3,11 +3,7 @@
3
3
  /* Hack iOS Safari Unfocus */
4
4
  main {
5
5
  outline: none;
6
- }
7
-
8
- /* Click Anywhere to Unfocus */
9
- html, body {
10
- height: 100%;
6
+ min-height: 100vh; // Click Anywhere to Unfocus
11
7
  }
12
8
 
13
9
  .posts-labelgroup {
@@ -94,6 +94,24 @@
94
94
  "calendar"
95
95
  ]
96
96
  },
97
+ {
98
+ "uid": "b86600decaba538aca184421752cd640",
99
+ "css": "soundcloud",
100
+ "code": 62280,
101
+ "src": "entypo"
102
+ },
103
+ {
104
+ "uid": "531359183f9fedb14b23666f1308591f",
105
+ "css": "telegram",
106
+ "code": 62150,
107
+ "src": "fontawesome"
108
+ },
109
+ {
110
+ "uid": "7cca4643f1e938c673e91c0c78058ddf",
111
+ "css": "gitlab",
112
+ "code": 62102,
113
+ "src": "fontawesome"
114
+ },
97
115
  {
98
116
  "uid": "1f1877aff7a2cd39092fcf73c3b5e7cb",
99
117
  "css": "github-circled",
Binary file
@@ -24,11 +24,17 @@
24
24
 
25
25
  <glyph glyph-name="dribbble" unicode="&#xf17d;" d="M571 13q-23 134-78 278h-1l-1-1q-9-3-24-9t-56-27-77-46-73-64-57-82l-9 6q103-84 234-84 73 0 142 29z m-103 339q-11 27-29 62-174-52-376-52 0-4 0-12 0-69 24-132t69-112q28 49 69 93t80 69 73 45 55 27l21 7q2 1 7 2t7 3z m-59 118q-67 119-137 211-77-36-130-104t-72-152q169 0 339 45z m381-178q-117 33-228 16 49-133 71-262 62 42 104 106t53 140z m-449 414q-1 0-1-1 0 1 1 1z m329-81q-103 91-241 91-43 0-87-10 73-95 137-214 39 15 73 34t54 34 36 32 21 23z m125-271q-2 129-83 229l-1-1q-5-7-11-13t-24-25-40-34-55-36-74-36q14-30 25-53 1-3 3-10t5-9q20 2 41 4t41 1 39-1 35-2 32-3 27-4 20-3 14-3z m62-4q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
26
26
 
27
+ <glyph glyph-name="gitlab" unicode="&#xf296;" d="M58 456l442-566-484 351q-10 7-14 19t0 24l56 172z m258 0h368l-184-566z m-111 342l111-342h-258l111 342q4 12 18 12t18-12z m737-342l56-172q4-12 0-24t-14-19l-484-351 442 566z m0 0h-258l111 342q4 12 18 12t19-12z" horiz-adv-x="1000" />
28
+
29
+ <glyph glyph-name="telegram" unicode="&#xf2c6;" d="M664 121l82 386q5 25-6 36t-29 3l-482-185q-16-6-22-14t-2-15 18-11l124-38 286 180q12 8 18 3 4-3-3-8l-231-210-9-127q13 0 25 13l60 58 125-93q36-20 46 22z m336 229q0-102-40-194t-106-160-160-106-194-40-194 40-160 106-106 160-40 194 40 194 106 160 160 106 194 40 194-40 160-106 106-160 40-194z" horiz-adv-x="1000" />
30
+
27
31
  <glyph glyph-name="twitter-squared" unicode="&#xf304;" d="M714 510q-31-14-67-19 38 22 52 65-37-21-75-28-34 36-85 36-49 0-83-34t-35-83q0-16 3-27-72 4-135 37t-107 86q-16-28-16-59 0-64 51-98-27 1-56 15v-1q0-42 28-75t68-40q-16-5-28-5-7 0-22 3 12-36 42-59t67-23q-64-50-145-50-15 0-28 2 82-53 180-53 62 0 117 20t94 53 67 76 42 91 13 94q0 10 0 15 35 25 58 61z m143 108v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
28
32
 
29
33
  <glyph glyph-name="facebook-squared" unicode="&#xf308;" d="M696 779q67 0 114-48t47-113v-536q0-66-47-113t-114-48h-104v333h111l16 129h-127v83q0 31 13 46t51 16l68 1v115q-35 5-100 5-75 0-121-44t-45-127v-95h-112v-129h112v-333h-297q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535z" horiz-adv-x="857.1" />
30
34
 
31
35
  <glyph glyph-name="linkedin-squared" unicode="&#xf30c;" d="M132 61h129v387h-129v-387z m138 507q-1 29-21 48t-51 19-53-19-21-48q0-29 20-48t52-19h0q33 0 53 19t21 48z m326-507h129v222q0 86-41 130t-107 44q-76 0-117-65h1v56h-129q2-37 0-387h129v217q0 21 4 31 8 19 25 33t41 14q65 0 65-88v-207z m261 557v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
36
+
37
+ <glyph glyph-name="soundcloud" unicode="&#xf348;" d="M34 178q0-4-10-4-6 0-10 4l-14 70 14 72q4 4 10 4 10 0 10-4l16-72z m102-38q0-8-12-8t-12 8l-12 108 12 166q0 8 12 8t12-8l14-166z m102 2q0-10-14-10t-14 8l-10 108 10 222q0 10 14 10t14-10l12-222z m102 0q0-10-16-10t-16 10l-8 106 8 224q0 10 16 10t16-10l10-224z m102 2q0-12-18-12-16 0-18 12l-6 104 6 256q4 14 18 14 18 0 18-14l8-256z m72-12q-14 0-14 14l0 396q0 10 12 14 36 14 84 14 88 0 153-58t73-142q24 10 50 10 52 0 90-37t38-87q0-52-38-89t-90-37z" horiz-adv-x="1000" />
32
38
  </font>
33
39
  </defs>
34
40
  </svg>
Binary file
Binary file
Binary file
@@ -1,8 +1,11 @@
1
+ ---
2
+ ---
3
+
1
4
  window.onload = function () {
2
5
  var sjs = SimpleJekyllSearch({
3
6
  searchInput: document.getElementById('searchbar'),
4
7
  resultsContainer: document.getElementById('search-results'),
5
- json: '/search.json',
8
+ json: '{{ "/search.json" | relative_url }}',
6
9
  searchResultTemplate: '<a href="{url}" target="_blank">{title}</a>',
7
10
  noResultsText: ''
8
11
  });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plainwhite
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.11'
4
+ version: '0.12'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samarjeet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-22 00:00:00.000000000 Z
11
+ date: 2020-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -68,7 +68,7 @@ dependencies:
68
68
  version: '12.0'
69
69
  description:
70
70
  email:
71
- - thelehhman@gmail.com
71
+ - samarsault@gmail.com
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []