type-on-strap 2.3.8 → 2.3.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d37aa295ef0bba39ece59de4e39bcfc5235c9edf80bff478a9054b3e8fdcbf6
4
- data.tar.gz: 34d45f1b419ded21adfa161155963682d9c6d6dbee747c7a4ce874f6b96a24fc
3
+ metadata.gz: 2fb748c9fa85515434e6df47ed36f442144eeba3be73aa87f9d2436ccfb6f922
4
+ data.tar.gz: 07eb817e9d64afb913dadff99e3d90531f3212816caa66d17fb43978b6d591d4
5
5
  SHA512:
6
- metadata.gz: 200fb555e6f2a4f6a0c10e7cf6d1e713de1162c08bcf063bb536a3631e815bb337ebf37e65a62161d2ff5683683df0d7174da4099d8c5fb5d65c7ec539d6977f
7
- data.tar.gz: 9238840c1df0c434254416a15b6a311df9eca82ae8be75be1c0375da51ccf54092a4acbb078c52289092ba5727dd35a25eebc628bc8c05ffb7f4646482492c3b
6
+ metadata.gz: b19d1053042fe0bbf1385d2dc09ea0ca5b09ed8d25bc0cc034080c6bd5931d1fef234986f6223dfb4e7fe57b4311be4bc31fea2b332f5c961ad479782b0154d4
7
+ data.tar.gz: 9862842c52c883cc4458af398b990d06eab2c67676f2e32528d0dca7123947f51693d477c0c4c7db6b7238245ddf82e0f584aa5b2254613b82990c3d175e8871
data/README.md CHANGED
@@ -22,7 +22,7 @@ A free and open-source [Jekyll](https://jekyllrb.com) theme. Based on Rohan Chan
22
22
  * 💡 Light and dark theme supported
23
23
  * Find free of rights images on [pexels](https://www.pexels.com/)
24
24
 
25
- > [Demo Site](https://sylhare.github.io/Type-on-Strap/)
25
+ > [Demo Site](https://sylhare.github.io/Type-on-Strap/)
26
26
 
27
27
  ## Usage
28
28
 
@@ -30,6 +30,8 @@ A free and open-source [Jekyll](https://jekyllrb.com) theme. Based on Rohan Chan
30
30
 
31
31
  Check out this tutorial: [Use as Ruby Gem](#use-as-ruby-gem-)
32
32
 
33
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#/https://github.com/sylhare/Type-On-Strap)
34
+
33
35
  ### As a github page 📋
34
36
 
35
37
  1. Fork and clone the [Type on Strap repo](https://github.com/sylhare/Type-On-Strap): `git clone https://github.com/Sylhare/Type-on-Strap.git`
@@ -79,9 +81,11 @@ If a variable in this document is marked as "optional", disable the feature by r
79
81
 
80
82
  ### Site configuration
81
83
 
84
+ #### Base url
85
+
82
86
  Configure Jekyll as your own blog or with a "baseurl" in `_config.yml`:
83
87
 
84
- Jekyll website *without* a "baseurl" (such as a GitHub Pages website for a given username):
88
+ Jekyll website *without* a "baseurl" (such as a **GitHub Pages website** with your username as the repository name):
85
89
 
86
90
  ```yml
87
91
  baseurl: ""
@@ -92,15 +96,27 @@ Jekyll website *with* "baseurl" (like the Type on Strap [demo](https://sylhare.g
92
96
 
93
97
  ```yml
94
98
  baseurl: "/sub-directory"
95
- url: "https://username.github.io/"
99
+ url: "https://username.github.io"
100
+ ```
101
+
102
+ #### Jekyll blog configuration
103
+
104
+ And here is the basic information you will need in your `_config.yml` for it to work properly:
105
+
106
+ ```yaml
107
+ # BLOG CONFIGURATION
108
+ post_navigation: true
109
+ paginate: 10
110
+ paginate_path: "blog/page:num"
111
+ plugins: [jekyll-paginate, jekyll-seo-tag, jekyll-feed]
96
112
  ```
97
113
 
98
- Please configure this before using the theme.
114
+ To configure the blog part and default pluginshose plugins are validated by GitHub page.
99
115
 
100
- ### Meta and Branding
116
+ #### Meta and Branding
101
117
 
102
118
  Meta variables hold basic information about your Jekyll site which will be used throughout the site
103
- and as meta properties for search engines, browsers, and the site's RSS feed.
119
+ and as meta properties that are used for search engines, browsers, and the site's RSS feed.
104
120
 
105
121
  Change these variables in `_config.yml`:
106
122
 
@@ -259,20 +275,11 @@ to share the article on those platform.
259
275
 
260
276
  #### Footer
261
277
 
262
- Display in the footer.
263
- All icon variables should be your username enclosed in quotes (e.g. "username") in `_data/social.yml`,
264
- except for the following variables:
265
-
266
- ```yml
267
- rss: true
268
- email_address: type@example.com
269
- linkedin: https://www.linkedin.com/in/FirstLast
270
- stack_exchange: https://stackexchangecom/users/0000/first-last
271
- stack_overflow: https://stackoverflow.com/users/0000/first-last
272
- youtube: UCqECaJ8Gagnn7YCbPEzWH6g # Youtube token of your channel in the url
273
- ```
278
+ Display icons in the footer.
279
+ All icon variables should be your username enclosed in quotes (e.g. "username") in `_data/icons.yml`.
274
280
 
275
281
  You can update the RSS settings in `_data/social` to change the default feed path (generated by [jekyll-feel](https://github.com/jekyll/jekyll-feed)).
282
+ To enable the share icons at the bottom of each article set to true the one you'd like under `share` in the `_data/social.yml` file.
276
283
 
277
284
  ### Personalize your Blog Posts 📝
278
285
 
@@ -468,7 +475,6 @@ gallery: "assets/img/pexels"
468
475
  {% include default/gallery.html gallery_path=page.gallery %}
469
476
  ```
470
477
 
471
-
472
478
  ### Feature: Search 🔍
473
479
 
474
480
  The search feature is based on [Simple-Jekyll-search](https://github.com/christian-fei/Simple-Jekyll-Search)
@@ -571,7 +577,7 @@ Nothing will happen if the file exists already.
571
577
 
572
578
  You can use Type-on-strap as a [gem](https://rubygems.org/gems/type-on-strap).
573
579
 
574
- Ruby Gem Method
580
+ Using the [Ruby Gem Method](https://sylhare.github.io/2021/03/25/Run-type-on-strap-jekyll-theme-locally.html).
575
581
  Add this line to your Jekyll site's Gemfile (or create one):
576
582
 
577
583
  ```ruby
@@ -29,7 +29,7 @@ keybase:
29
29
  linkedin:
30
30
  pre: "https://www.linkedin.com/in/"
31
31
  mail:
32
- pre: "mailto://"
32
+ pre: "mailto:"
33
33
  icon: "fas fa-envelope"
34
34
  map:
35
35
  pre: "https://www.openstreetmap.org/#map=15/"
@@ -1,7 +1,8 @@
1
1
  {% if site.data.social.rss or site.theme_settings.rss %}
2
2
  <li>
3
3
  <a feed.xml href="{{ site.data.social.feed.path | default: 'feed.xml' | relative_url }}"
4
- title="{{ site.data.language.str_rss_follow | default: 'Follow RSS feed' }}">
4
+ title="{{ site.data.language.str_rss_follow | default: 'Follow RSS feed' }}"
5
+ target="_blank">
5
6
  <span class="fa-stack fa-lg">
6
7
  <i class="fas fa-circle fa-stack-2x"></i>
7
8
  <i class="fas fa-rss fa-stack-1x fa-inverse"></i>
@@ -23,6 +24,7 @@
23
24
  <li>
24
25
  <a href="{{ data.pre | append: id | append: data.pos }}"
25
26
  title="{{ site.data.language.str_follow_on }} {{ brand | remove: '-' | capitalize }}"
27
+ target="_blank"
26
28
  rel="me">
27
29
  <span class="fa-stack fa-lg">
28
30
  <i class="fas fa-circle fa-stack-2x"></i>
@@ -1,6 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Type on Strap jekyll theme v2.3.8
3
+ Type on Strap jekyll theme v2.3.9
4
4
  Theme free for personal and commercial use under the MIT license
5
5
  https://github.com/sylhare/Type-on-Strap/blob/master/LICENSE
6
6
  -->
@@ -79,6 +79,10 @@ img[align=right] {
79
79
  margin-left: 3%;
80
80
  }
81
81
 
82
+ summary {
83
+ cursor: pointer;
84
+ }
85
+
82
86
  /* ---- Responsive ---- */
83
87
 
84
88
  @media screen and (max-width: $break) {
@@ -71,7 +71,7 @@ table.rouge-table {
71
71
  padding-right: 1em;
72
72
  width: 2em;
73
73
  color: var(--base04);
74
- border-right: 1px solid --var(base04);
74
+ border-right: 1px solid var(--base04);
75
75
  text-align: right
76
76
  }
77
77
 
@@ -167,7 +167,7 @@ table.rouge-table {
167
167
  .na{ /* Name.Attribute */
168
168
  color: var(--base0b) }
169
169
  .nb{ /* Name.Builtin */
170
- color: var(--base05) }
170
+ color: var(--base0c) }
171
171
  .nc{ /* Name.Class */
172
172
  color: var(--base05) }
173
173
  .no{ /* Name.Constant */
@@ -181,7 +181,7 @@ table.rouge-table {
181
181
  .nf{ /* Name.Function */
182
182
  color: var(--base0b) }
183
183
  .nl{ /* Name.Label */
184
- color: var(--base05) }
184
+ color: var(--base0c) }
185
185
  .nn{ /* Name.Namespace */
186
186
  color: var(--base05) }
187
187
  .nt{ /* Name.Tag */
@@ -189,7 +189,7 @@ table.rouge-table {
189
189
  .nv{ /* Name.Variable */
190
190
  color: var(--base0c) }
191
191
  .nx{ /* Name.Other */
192
- color: var(--base0b) }
192
+ color: var(--base05) }
193
193
  .o{ /* Operator */
194
194
  color: var(--base08) }
195
195
  .ow{ /* Operator.Word */
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.3.8
4
+ version: 2.3.9
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: 2021-07-16 00:00:00.000000000 Z
12
+ date: 2021-11-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll