type-on-strap 2.0.0 → 2.0.2

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
  SHA256:
3
- metadata.gz: a82252f722dbaa499c9b88862b7bf015b4e9e433065626b0986db18f05330c3c
4
- data.tar.gz: '049c3c0e3a27975140f120ad01305071d2aaf7449678ae0019df49dd9eb74bc3'
3
+ metadata.gz: c90acd5397fcea549b6ba68adc2060c8b90f5854865f2f15387a90154ef24f6f
4
+ data.tar.gz: 1b5e46f406ded2d05898b589c0631cdc03acac91d79ccda6bf830c4fab8cdb02
5
5
  SHA512:
6
- metadata.gz: d965f661f21023b6146578872761576f861476a97109bf9e81d9d3e1afd28aa01691b72a3f86bef8ca47a47137d0718553f58c5bad707917e658516a95576701
7
- data.tar.gz: 8d85707b6cdb8cb4c93bae5188b2c1bd6b4acaa7312785fec5fac7248f9ca543b09a78b99afd64ab1fa965619634ede40d74fdaba722f97681a28365c4ecf9b6
6
+ metadata.gz: 07212317b47794434438c652f13dee5201bc50715c63d4dfc1586db7fd0029e6de9d45054653c8fcca3624655e4585c5944764f893da1f9e4fa2fc8e3a07ec33
7
+ data.tar.gz: abd72d8e2b9bb1131e42a472e27ebb48232f97c48058080f092eec23e0bdba30ba4e1baedf294935eb4638a3ea22d1ce7b97e19772f76786d28bcd943612f0e8
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/sylhare/Type-on-Strap.svg?branch=master)](https://travis-ci.org/sylhare/Type-on-Strap)
4
4
  [![Gem Version](https://badge.fury.io/rb/type-on-strap.svg)](https://badge.fury.io/rb/type-on-strap)
5
+ [![Docker Pulls](https://img.shields.io/docker/pulls/sylhare/type-on-strap)](https://hub.docker.com/repository/docker/sylhare/type-on-strap)
5
6
 
6
7
  A free and open-source [Jekyll](https://jekyllrb.com) theme. Based on Rohan Chandra [type-theme](https://github.com/rohanchandra/type-theme) with a few new features:
7
8
 
@@ -12,7 +13,7 @@ A free and open-source [Jekyll](https://jekyllrb.com) theme. Based on Rohan Chan
12
13
  * Search feature : [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search)
13
14
  * Math Rendering : [KateX](https://github.com/Khan/KaTeX)
14
15
  * Nice fonts : [Font Awesome](https://fontawesome.com/), [Source Sans Pro](https://fonts.google.com/specimen/Source+Sans+Pro), [Pacifico](https://fonts.google.com/specimen/Pacifico?selection.family=Pacifico)
15
- * Seo Tags : [Jekyll-seo-tag](https://help.github.com/articles/search-engine-optimization-for-github-pages/)
16
+ * Seo Tags : [Jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag)
16
17
  * Syntax Highlighting: Easily customisable [Base16](https://github.com/chriskempson/base16)
17
18
  * Free of rights images from [pexels](https://www.pexels.com/)
18
19
 
@@ -25,17 +26,16 @@ A free and open-source [Jekyll](https://jekyllrb.com) theme. Based on Rohan Chan
25
26
  1. [Usage](https://github.com/Sylhare/Type-on-Strap#Usage)
26
27
  2. [Structure](https://github.com/Sylhare/Type-on-Strap#structure)
27
28
  3. [Configure Type on Strap](https://github.com/Sylhare/Type-on-Strap#configure-type-on-strap)
28
- 4. [Layout](https://github.com/Sylhare/Type-on-Strap#layout)
29
+ 4. [Other Layouts](https://github.com/Sylhare/Type-on-Strap#other-layouts)
29
30
  5. [Feature pages](https://github.com/Sylhare/Type-on-Strap#feature-pages)
30
- 6. [Template as a Gem](https://github.com/Sylhare/Type-on-Strap#Template-as-a-Gem)
31
- 7. [Advanced](https://github.com/Sylhare/Type-on-Strap#advanced)
32
- 8. [License](https://github.com/Sylhare/Type-on-Strap#license)
31
+ 6. [Advanced](https://github.com/Sylhare/Type-on-Strap#advanced)
32
+ 7. [License](https://github.com/Sylhare/Type-on-Strap#license)
33
33
 
34
34
  ## Usage
35
35
 
36
36
  ### As a ruby gem
37
37
 
38
- Check out this tutorial: [Use Type on strap as a gem](https://github.com/sylhare/Type-on-Strap/tree/v2#use-as-ruby-gem)
38
+ Check out this tutorial: [Use as Ruby Gem](https://github.com/Sylhare/Type-on-Strap#use-as-ruby-gem)
39
39
 
40
40
  ### As a github page
41
41
 
@@ -52,7 +52,6 @@ Here are the main files of the template
52
52
 
53
53
  ```bash
54
54
  jekyll-theme-basically-basic
55
- ├── _draft # To store your drafts, they won't be published on your site
56
55
  ├── _includes # theme includes
57
56
  ├── _layouts # theme layouts (see below for details)
58
57
  ├── _portfolio # collection of article to be populated in the portfolio page
@@ -184,7 +183,7 @@ $$
184
183
  ### Social icons
185
184
 
186
185
  In `_data/social.yml` you can customize the social icons from other wbesite you wish to display in the blog.
187
- The site icons come from [Font Awesome](https://fortawesome.github.io/Font-Awesome/).
186
+ The site icons come from [Font Awesome](https://fontawesome.com/).
188
187
 
189
188
  #### Share in article
190
189
 
@@ -279,7 +278,6 @@ tags: [sample, markdown, html]
279
278
  ```
280
279
 
281
280
  The hide only hides your page from the navigation bar, it is however still generated and can be access through its link.
282
- Use the `_draft` folder to keep files from being generated on your site.
283
281
 
284
282
  ### Layout: Default
285
283
 
@@ -294,11 +292,13 @@ Here are the documentation for the other feature pages that can be added through
294
292
 
295
293
  ### Home
296
294
 
297
- This page is the used as the home page of the template (in the `index.html`). It displays the list of article in `_posts`.
295
+ This page is used as the home page of the template (in the `index.html`). It displays the list of articles in `_posts`.
298
296
  You can use this layout in another page (adding a title to it will make it appear in the navigation bar).
299
297
 
300
298
  The recommended width and height for the home picture is width:`2484px;` and height:`1280px`
301
- which are the dimension of the actual picture for it to be rolling down as you scroll the page.
299
+ which are the dimensions of the actual picture for it to be rolling down as you scroll the page.
300
+
301
+ If your posts are not displaying ensure that you have added the line `paginate: 5` to `_config.yml`.
302
302
 
303
303
  ### Portfolio
304
304
 
@@ -462,7 +462,6 @@ Then you can start adding content like:
462
462
  - Add the feature page you want. (ex: as it is already in `pages`)
463
463
  - Add posts in `_posts` and `_portfolio` to be displayed
464
464
 
465
-
466
465
  ### Remote Theme
467
466
 
468
467
  Now you can use any theme gem with github pages with [29/11/2017 Github Pages Broadcast](https://github.com/blog/2464-use-any-theme-with-github-pages).
data/_includes/icons.html CHANGED
@@ -1,165 +1,175 @@
1
1
  {% if site.data.social.rss or site.theme_settings.rss %}
2
2
  <li>
3
- <a href="{{ "feed.xml" | absolute_url }}" title="{{ site.data.language.str_rss_follow | default: "Follow RSS feed" }}">
4
- <span class="fa-stack fa-lg">
3
+ <a feed.xml href="{{ "" | absolute_url }}" title="{{ site.data.language.str_rss_follow | default: "Follow RSS feed"
4
+ }}">
5
+ <span class="fa-stack fa-lg">
5
6
  <i class="fa fa-circle fa-stack-2x"></i>
6
7
  <i class="fa fa-rss fa-stack-1x fa-inverse"></i>
7
8
  </span>
8
- </a>
9
+ </a>
9
10
  </li>
10
11
  {% endif %}
11
12
 
12
13
  {% if site.data.social.email_address or site.theme_settings.email_address %}
13
14
  <li>
14
- <a href="mailto:{{ site.data.social.email_address }}" title="{{ site.data.language.str_email }}">
15
+ <a href="mailto:{{ site.data.social.email_address }}" title="{{ site.data.language.str_email }}">
15
16
  <span class="fa-stack fa-lg">
16
17
  <i class="fa fa-circle fa-stack-2x"></i>
17
18
  <i class="fa fa-envelope fa-stack-1x fa-inverse"></i>
18
19
  </span>
19
- </a>
20
+ </a>
20
21
  </li>
21
22
  {% endif %}
22
23
 
23
24
  {% if site.data.social.behance or site.theme_settings.behance %}
24
25
  <li>
25
- <a href="https://www.behance.net/{{ site.data.social.behance }}" title="{{ site.data.language.str_follow_on }} Behance">
26
+ <a href="https://www.behance.net/{{ site.data.social.behance }}"
27
+ title="{{ site.data.language.str_follow_on }} Behance">
26
28
  <span class="fa-stack fa-lg">
27
29
  <i class="fa fa-circle fa-stack-2x"></i>
28
30
  <i class="fa fa-behance fa-stack-1x fa-inverse"></i>
29
31
  </span>
30
- </a>
32
+ </a>
31
33
  </li>
32
34
  {% endif %}
33
35
 
34
36
  {% if site.data.social.bitbucket or site.theme_settings.bitbucket %}
35
37
  <li>
36
- <a href="https://bitbucket.org/{{ site.data.social.bitbucket }}" title="{{ site.data.language.str_follow_on }} Bitbucket">
38
+ <a href="https://bitbucket.org/{{ site.data.social.bitbucket }}"
39
+ title="{{ site.data.language.str_follow_on }} Bitbucket">
37
40
  <span class="fa-stack fa-lg">
38
41
  <i class="fa fa-circle fa-stack-2x"></i>
39
42
  <i class="fa fa-bitbucket fa-stack-1x fa-inverse"></i>
40
43
  </span>
41
- </a>
44
+ </a>
42
45
  </li>
43
46
  {% endif %}
44
47
 
45
48
  {% if site.data.social.dribbble or site.theme_settings.dribbble %}
46
49
  <li>
47
- <a href="https://dribbble.com/{{ site.data.social.dribbble }}" title="{{ site.data.language.str_follow_on }} Dribbble">
50
+ <a href="https://dribbble.com/{{ site.data.social.dribbble }}"
51
+ title="{{ site.data.language.str_follow_on }} Dribbble">
48
52
  <span class="fa-stack fa-lg">
49
53
  <i class="fa fa-circle fa-stack-2x"></i>
50
54
  <i class="fa fa-dribbble fa-stack-1x fa-inverse"></i>
51
55
  </span>
52
- </a>
56
+ </a>
53
57
  </li>
54
58
  {% endif %}
55
59
 
56
60
  {% if site.data.social.facebook or site.theme_settings.facebook %}
57
61
  <li>
58
- <a href="https://www.facebook.com/{{ site.data.social.facebook }}" title="{{ site.data.language.str_follow_on }} Facebook">
62
+ <a href="https://www.facebook.com/{{ site.data.social.facebook }}"
63
+ title="{{ site.data.language.str_follow_on }} Facebook">
59
64
  <span class="fa-stack fa-lg">
60
65
  <i class="fa fa-circle fa-stack-2x"></i>
61
66
  <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
62
67
  </span>
63
- </a>
68
+ </a>
64
69
  </li>
65
70
  {% endif %}
66
71
 
67
72
  {% if site.data.social.flickr or site.theme_settings.flickr %}
68
73
  <li>
69
- <a href="https://www.flickr.com/photos/{{ site.data.social.flickr }}" title="{{ site.data.language.str_follow_on }} Flickr">
74
+ <a href="https://www.flickr.com/photos/{{ site.data.social.flickr }}"
75
+ title="{{ site.data.language.str_follow_on }} Flickr">
70
76
  <span class="fa-stack fa-lg">
71
77
  <i class="fa fa-circle fa-stack-2x"></i>
72
78
  <i class="fa fa-flickr fa-stack-1x fa-inverse"></i>
73
79
  </span>
74
- </a>
80
+ </a>
75
81
  </li>
76
82
  {% endif %}
77
83
 
78
84
  {% if site.data.social.github or site.theme_settings.github %}
79
85
  <li>
80
- <a href="https://github.com/{{ site.data.social.github }}" title="{{ site.data.language.str_follow_on }} GitHub">
86
+ <a href="https://github.com/{{ site.data.social.github }}" title="{{ site.data.language.str_follow_on }} GitHub">
81
87
  <span class="fa-stack fa-lg">
82
88
  <i class="fa fa-circle fa-stack-2x"></i>
83
89
  <i class="fa fa-github fa-stack-1x fa-inverse"></i>
84
90
  </span>
85
- </a>
91
+ </a>
86
92
  </li>
87
93
  {% endif %}
88
94
 
89
95
  {% if site.data.social.instagram or site.theme_settings.instagram %}
90
96
  <li>
91
- <a href="http://instagram.com/{{ site.data.social.instagram }}" title="{{ site.data.language.str_follow_on }} Instagram">
97
+ <a href="http://instagram.com/{{ site.data.social.instagram }}"
98
+ title="{{ site.data.language.str_follow_on }} Instagram">
92
99
  <span class="fa-stack fa-lg">
93
100
  <i class="fa fa-circle fa-stack-2x"></i>
94
101
  <i class="fa fa-instagram fa-stack-1x fa-inverse"></i>
95
102
  </span>
96
- </a>
103
+ </a>
97
104
  </li>
98
105
  {% endif %}
99
106
 
100
107
  {% if site.data.social.keybase or site.theme_settings.keybase %}
101
108
  <li>
102
- <a href="https://keybase.io/{{ site.data.social.keybase }}" title="{{ site.data.language.str_follow_on }} Keybase">
109
+ <a href="https://keybase.io/{{ site.data.social.keybase }}" title="{{ site.data.language.str_follow_on }} Keybase">
103
110
  <span class="fa-stack fa-lg">
104
111
  <i class="fa fa-circle fa-stack-2x"></i>
105
112
  <i class="fa fa-key fa-stack-1x fa-inverse"></i>
106
113
  </span>
107
- </a>
114
+ </a>
108
115
  </li>
109
116
  {% endif %}
110
117
 
111
118
  {% if site.data.social.linkedin or site.theme_settings.linkedin %}
112
119
  <li>
113
- <a href="{{ site.data.social.linkedin }}" title="{{ site.data.language.str_follow_on }} LinkedIn">
120
+ <a href="{{ site.data.social.linkedin }}" title="{{ site.data.language.str_follow_on }} LinkedIn">
114
121
  <span class="fa-stack fa-lg">
115
122
  <i class="fa fa-circle fa-stack-2x"></i>
116
123
  <i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
117
124
  </span>
118
- </a>
125
+ </a>
119
126
  </li>
120
127
  {% endif %}
121
128
 
122
129
  {% if site.data.social.pinterest or site.theme_settings.pinterest %}
123
130
  <li>
124
- <a href="http://www.pinterest.com/{{ site.data.social.pinterest }}" title="{{ site.data.language.str_follow_on }} Pinterest">
131
+ <a href="http://www.pinterest.com/{{ site.data.social.pinterest }}"
132
+ title="{{ site.data.language.str_follow_on }} Pinterest">
125
133
  <span class="fa-stack fa-lg">
126
134
  <i class="fa fa-circle fa-stack-2x"></i>
127
135
  <i class="fa fa-pinterest fa-stack-1x fa-inverse"></i>
128
136
  </span>
129
- </a>
137
+ </a>
130
138
  </li>
131
139
  {% endif %}
132
140
 
133
141
  {% if site.data.social.reddit or site.theme_settings.reddit %}
134
142
  <li>
135
- <a href="https://www.reddit.com/user/{{ site.data.social.reddit }}" title="{{ site.data.language.str_follow_on }} Reddit">
143
+ <a href="https://www.reddit.com/user/{{ site.data.social.reddit }}"
144
+ title="{{ site.data.language.str_follow_on }} Reddit">
136
145
  <span class="fa-stack fa-lg">
137
146
  <i class="fa fa-circle fa-stack-2x"></i>
138
147
  <i class="fa fa-reddit fa-stack-1x fa-inverse"></i>
139
148
  </span>
140
- </a>
149
+ </a>
141
150
  </li>
142
151
  {% endif %}
143
152
 
144
153
  {% if site.data.social.soundcloud or site.theme_settings.soundcloud %}
145
154
  <li>
146
- <a href="https://soundcloud.com/{{ site.data.social.soundcloud }}" title="{{ site.data.language.str_follow_on }} SoundCloud">
155
+ <a href="https://soundcloud.com/{{ site.data.social.soundcloud }}"
156
+ title="{{ site.data.language.str_follow_on }} SoundCloud">
147
157
  <span class="fa-stack fa-lg">
148
158
  <i class="fa fa-circle fa-stack-2x"></i>
149
159
  <i class="fa fa-soundcloud fa-stack-1x fa-inverse"></i>
150
160
  </span>
151
- </a>
161
+ </a>
152
162
  </li>
153
163
  {% endif %}
154
164
 
155
165
  {% if site.data.social.stack_exchange or site.theme_settings.stack_exchange %}
156
166
  <li>
157
- <a href="{{ site.data.social.stack_exchange }}" title="{{ site.data.language.str_follow_on }} Stack Exchange">
167
+ <a href="{{ site.data.social.stack_exchange }}" title="{{ site.data.language.str_follow_on }} Stack Exchange">
158
168
  <span class="fa-stack fa-lg">
159
169
  <i class="fa fa-circle fa-stack-2x"></i>
160
170
  <i class="fa fa-stack-exchange fa-stack-1x fa-inverse"></i>
161
171
  </span>
162
- </a>
172
+ </a>
163
173
  </li>
164
174
  {% endif %}
165
175
 
@@ -176,77 +186,82 @@
176
186
 
177
187
  {% if site.data.social.steam or site.theme_settings.steam %}
178
188
  <li>
179
- <a href="http://steamcommunity.com/id/{{ site.data.social.steam }}" title="{{ site.data.language.str_follow_on }} Steam">
189
+ <a href="http://steamcommunity.com/id/{{ site.data.social.steam }}"
190
+ title="{{ site.data.language.str_follow_on }} Steam">
180
191
  <span class="fa-stack fa-lg">
181
192
  <i class="fa fa-circle fa-stack-2x"></i>
182
193
  <i class="fa fa-steam fa-stack-1x fa-inverse"></i>
183
194
  </span>
184
- </a>
195
+ </a>
185
196
  </li>
186
197
  {% endif %}
187
198
 
188
199
  {% if site.data.social.tumblr or site.theme_settings.tumblr %}
189
200
  <li>
190
- <a href="http://{{ site.data.social.tumblr }}.tumblr.com/" title="{{ site.data.language.str_follow_on }} Tumblr">
201
+ <a href="http://{{ site.data.social.tumblr }}.tumblr.com/" title="{{ site.data.language.str_follow_on }} Tumblr">
191
202
  <span class="fa-stack fa-lg">
192
203
  <i class="fa fa-circle fa-stack-2x"></i>
193
204
  <i class="fa fa-tumblr fa-stack-1x fa-inverse"></i>
194
205
  </span>
195
- </a>
206
+ </a>
196
207
  </li>
197
208
  {% endif %}
198
209
 
199
210
  {% if site.data.social.gitlab or site.theme_settings.gitlab %}
200
211
  <li>
201
- <a href="https://gitlab.com/{{ site.data.social.gitlab }}" title="{{ site.data.language.str_follow_on }} Gitlab">
212
+ <a href="https://gitlab.com/{{ site.data.social.gitlab }}" title="{{ site.data.language.str_follow_on }} Gitlab">
202
213
  <span class="fa-stack fa-lg">
203
214
  <i class="fa fa-circle fa-stack-2x"></i>
204
215
  <i class="fa fa-gitlab fa-stack-1x fa-inverse"></i>
205
216
  </span>
206
- </a>
217
+ </a>
207
218
  </li>
208
219
  {% endif %}
209
220
 
210
221
  {% if site.data.social.twitter or site.theme_settings.twitter %}
211
222
  <li>
212
- <a href="https://twitter.com/{{ site.data.social.twitter }}" title="{{ site.data.language.str_follow_on }} Twitter" class="type">
223
+ <a class="type" href="https://twitter.com/{{ site.data.social.twitter }}"
224
+ title="{{ site.data.language.str_follow_on }} Twitter">
213
225
  <span class="fa-stack fa-lg">
214
226
  <i class="fa fa-circle fa-stack-2x"></i>
215
227
  <i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
216
228
  </span>
217
- </a>
229
+ </a>
218
230
  </li>
219
231
  {% endif %}
220
232
 
221
233
  {% if site.data.social.vimeo or site.theme_settings.vimeo %}
222
234
  <li>
223
- <a href="https://vimeo.com/{{ site.data.social.vimeo }}" title="{{ site.data.language.str_follow_on }} Vimeo" class="type">
235
+ <a class="type" href="https://vimeo.com/{{ site.data.social.vimeo }}"
236
+ title="{{ site.data.language.str_follow_on }} Vimeo">
224
237
  <span class="fa-stack fa-lg">
225
238
  <i class="fa fa-circle fa-stack-2x"></i>
226
239
  <i class="fa fa-vimeo fa-stack-1x fa-inverse"></i>
227
240
  </span>
228
- </a>
241
+ </a>
229
242
  </li>
230
243
  {% endif %}
231
244
 
232
245
  {% if site.data.social.wordpress or site.theme_settings.wordpress %}
233
246
  <li>
234
- <a href="https://{{ site.data.social.wordpress }}.wordpress.com/" title="{{ site.data.language.str_follow_on }} WordPress">
247
+ <a href="https://{{ site.data.social.wordpress }}.wordpress.com/"
248
+ title="{{ site.data.language.str_follow_on }} WordPress">
235
249
  <span class="fa-stack fa-lg">
236
250
  <i class="fa fa-circle fa-stack-2x"></i>
237
251
  <i class="fa fa-wordpress fa-stack-1x fa-inverse"></i>
238
252
  </span>
239
- </a>
253
+ </a>
240
254
  </li>
241
255
  {% endif %}
242
256
 
243
257
  {% if site.data.social.youtube or site.theme_settings.youtube %}
244
258
  <li>
245
- <a href="https://www.youtube.com/user/{{ site.data.social.youtube }}" title="{{ site.data.language.str_follow_on }} YouTube">
259
+ <a href="https://www.youtube.com/user/{{ site.data.social.youtube }}"
260
+ title="{{ site.data.language.str_follow_on }} YouTube">
246
261
  <span class="fa-stack fa-lg">
247
262
  <i class="fa fa-circle fa-stack-2x"></i>
248
263
  <i class="fa fa-youtube fa-stack-1x fa-inverse"></i>
249
264
  </span>
250
- </a>
265
+ </a>
251
266
  </li>
252
267
  {% endif %}
@@ -3,13 +3,13 @@
3
3
  <div class="portfolio-grid">
4
4
  {% for item in site.portfolio %}
5
5
  <div class="portfolio-cell">
6
- <a href="{{ item.url | relative_url }}" class="portfolio-link" data-keyboard="true">
6
+ <a class="portfolio-link" data-keyboard="true" href="{{ item.url | relative_url }}">
7
7
  <div class="caption" title="{{ item.title }}">
8
8
  <div class="caption-content">
9
9
  <i class="fa fa-search-plus fa-3x"></i>
10
10
  </div>
11
11
  </div>
12
- <img src="{{ item.img | relative_url }}" class="" alt="">
12
+ <img alt="" class="" src="{{ item.img | relative_url }}">
13
13
  </a>
14
14
  </div>
15
15
  {% endfor %}
@@ -1,3 +1,13 @@
1
+ {% if site.data.social.share.facebook or site.theme_settings.share_buttons.facebook
2
+ or site.data.social.share.twitter or site.theme_settings.twitter
3
+ or site.data.social.share.tumblr or site.theme_settings.tumblr
4
+ or site.data.social.share.pinterest or site.theme_settings.pinterest
5
+ or site.data.social.share.pocket or site.theme_settings.pocket
6
+ or site.data.social.share.reddit or site.theme_settings.reddit
7
+ or site.data.social.share.linkedin or site.theme_settings.linkedin
8
+ or site.data.social.share.wordpress or site.theme_settings.wordpress
9
+ or site.data.social.share.email or site.theme_settings.email %}
10
+
1
11
  <div class="share-buttons">
2
12
  <ul class="share-buttons">
3
13
  <div class="meta">Share</div>
@@ -67,3 +77,5 @@
67
77
  {% endif %}
68
78
  </ul>
69
79
  </div>
80
+
81
+ {% endif %}
@@ -98,13 +98,18 @@ img[align=right] {
98
98
  h3 {
99
99
  font-size: 1em;
100
100
  }
101
- h4,
102
- .meta {
101
+ h4, tr, th, .meta {
103
102
  font-size: 0.9em;
104
103
  }
105
- p, li {
104
+ p, li, td {
106
105
  font-size: 0.8em;
107
106
  }
107
+ li li {
108
+ font-size: 0.95em;
109
+ }
110
+ li li * {
111
+ font-size: 1em;
112
+ }
108
113
 
109
114
  iframe,
110
115
  img,
@@ -126,20 +131,24 @@ img[align=right] {
126
131
  h3 {
127
132
  font-size: 0.9em;
128
133
  }
129
- h4,
130
- .meta {
134
+ h4, th, tr, .meta {
131
135
  font-size: 0.85em;
132
136
  }
133
- p, li {
137
+ p, li, td {
134
138
  font-size: 0.8em;
135
139
  }
140
+ li li {
141
+ font-size: 0.95em;
142
+ }
143
+ li li * {
144
+ font-size: 1em;
145
+ }
136
146
 
137
147
  table {
138
148
  overflow-x: scroll;
139
149
  }
140
150
  }
141
151
 
142
-
143
152
  blockquote {
144
153
  border-left: 2px solid darken($blockquote-color, 20%);
145
154
  margin: 1em 1em;
@@ -227,3 +236,17 @@ a {
227
236
  color: $link-color;
228
237
  text-decoration: none;
229
238
  }
239
+
240
+ kbd {
241
+ background-color: #eee;
242
+ border-radius: 3px;
243
+ border: 1px solid #b4b4b4;
244
+ box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
245
+ color: #333;
246
+ display: inline-block;
247
+ font-size: .85em;
248
+ font-weight: 700;
249
+ line-height: 1;
250
+ padding: 2px 4px;
251
+ white-space: nowrap;
252
+ }
@@ -37,7 +37,7 @@
37
37
  padding: $padding-large $padding-large;
38
38
  }
39
39
  @media (max-width: $sm-break) {
40
- padding: $padding-medium;
40
+ padding: $padding-large;
41
41
  }
42
42
  }
43
43
 
@@ -2,7 +2,7 @@
2
2
  * Font: SIL OFL 1.1, CSS: MIT License
3
3
  */
4
4
 
5
- $pacifico-font-path: "../../assets/fonts/pacifico" !default;
5
+ $pacifico-font-path: "../../assets/fonts/Pacifico" !default;
6
6
 
7
7
  @font-face {
8
8
  font-family: 'Pacifico';
@@ -14,4 +14,4 @@ $pacifico-font-path: "../../assets/fonts/pacifico" !default;
14
14
  url('#{$pacifico-font-path}/Pacifico.svg#Pacifico') format('svg');/* Legacy iOS */
15
15
  font-weight: normal;
16
16
  font-style: normal;
17
- }
17
+ }
@@ -32,6 +32,7 @@
32
32
  h3,
33
33
  h4,
34
34
  h5 {
35
+ font-family: $font-family-logo;
35
36
  @extend .header-txt-shadow;
36
37
  }
37
38
 
@@ -111,7 +111,7 @@ header {
111
111
  /*-- feature-image Responsive scrolling --*/
112
112
  .feature-image header {
113
113
  @media screen and (max-width: $break) {
114
- padding: $padding-small $padding-small;
114
+ padding: $padding-large*1.5 $padding-small;
115
115
  }
116
116
 
117
117
  @media screen and (min-width: $break) {
@@ -0,0 +1,29 @@
1
+ ---
2
+ ---
3
+ [
4
+ {% for post in site.posts %}
5
+ {
6
+ "title" : "{{ post.title | escape }}",
7
+ "category" : "{{ post.category }}",
8
+ "tags" : "{{ post.tags | join: ', ' | prepend: " " }}",
9
+ "url" : "{{ post.url | relative_url }}",
10
+ "date" : "{{ post.date | date: "%B %-d, %Y" }}",
11
+ "excerpt" : {{ post.content | strip_html | truncate: '250' | escape | jsonify }},
12
+ "content" : {{ post.content | strip_html | escape | jsonify }}
13
+ } {% unless forloop.last %},{% endunless %}
14
+ {% endfor %}
15
+ {% if site.portfolio.size > 0 %},{% endif %}
16
+ {% for page in site.portfolio %}
17
+ {
18
+ {% if page.title != nil %}
19
+ "title" : "{{ page.title | escape }}",
20
+ "category" : "{{ page.category }}",
21
+ "tags" : "{{ page.tags | join: ', ' | prepend: " " }}",
22
+ "url" : "{{ page.url | relative_url }}",
23
+ "date" : "{{ page.date | date: "%B %-d, %Y" }}",
24
+ "excerpt" : {{ page.content | strip_html | truncate: '250' | jsonify }},
25
+ "content" : {{ page.content | strip_html | escape | jsonify }}
26
+ {% endif %}
27
+ } {% unless forloop.last %},{% endunless %}
28
+ {% endfor %}
29
+ ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: type-on-strap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylhare
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-10-03 00:00:00.000000000 Z
12
+ date: 2019-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -73,26 +73,6 @@ dependencies:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '2.6'
76
- - !ruby/object:Gem::Dependency
77
- name: bundler
78
- requirement: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '2.0'
83
- - - "<"
84
- - !ruby/object:Gem::Version
85
- version: 2.1.0
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- requirements:
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: '2.0'
93
- - - "<"
94
- - !ruby/object:Gem::Version
95
- version: 2.1.0
96
76
  description: A simple and responsive jekyll theme template based on type-theme. Great
97
77
  for blogs, easy to customize and responsive.
98
78
  email:
@@ -169,6 +149,7 @@ files:
169
149
  - assets/css/vendor/bootstrap-iso.css
170
150
  - assets/css/vendor/bootstrap-iso.min.css
171
151
  - assets/css/vendor/bootstrap.css
152
+ - assets/data/search.json
172
153
  - assets/fonts/Pacifico/Pacifico.eot
173
154
  - assets/fonts/Pacifico/Pacifico.svg
174
155
  - assets/fonts/Pacifico/Pacifico.ttf
@@ -279,18 +260,16 @@ licenses:
279
260
  metadata:
280
261
  plugin_type: theme
281
262
  post_install_message: |
282
- ----------------------------------------------------------
283
-
263
+ -------------------------------------------------------------------------------------
284
264
  Type on strap v2+ is using Jekyll 4.0:
285
265
 
286
266
  * Please make sure you have updated your _config.yml.
287
267
 
288
268
  * Use _data/ for social and language customization
289
269
 
290
- * Vist https://github.com/sylhare/Type-on-Strap
291
- for more info.
270
+ * Vist https://github.com/sylhare/Type-on-Strap for more info.
292
271
 
293
- ----------------------------------------------------------
272
+ -------------------------------------------------------------------------------------
294
273
  rdoc_options:
295
274
  - "--charset=UTF-8"
296
275
  require_paths:
@@ -306,8 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
306
285
  - !ruby/object:Gem::Version
307
286
  version: '0'
308
287
  requirements: []
309
- rubyforge_project:
310
- rubygems_version: 2.7.7
288
+ rubygems_version: 3.0.6
311
289
  signing_key:
312
290
  specification_version: 4
313
291
  summary: A simple and responsive jekyll theme template