jekflix 3.1.0 → 3.1.1

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: bcccca10845eee7df16c9998eeaa82de3ae0e8eb2990b533d63f1f723005e85c
4
- data.tar.gz: 8ffdf60cb7bf138a2ffc181093d64c9370d0fdca6af56dc727ccf24a153da148
3
+ metadata.gz: 8b74eddf50f4c5a857ce1a3f5848eed8fc459b0ee6c2d37106139491b8baa287
4
+ data.tar.gz: 98b47944f7bce6fffb41d6acfd255dd920d72775bbbe0ee671d37bfa92bd914f
5
5
  SHA512:
6
- metadata.gz: 5d716d2f1cd766331e86fd866e379d26754a60f3b1e1759a90f3dc9c7635e318244079102dd434b68cfaad7f25b97488ad861217b29b8a901f0afa1bf2849a36
7
- data.tar.gz: e356b529774107591ea76c2c1d16829a684b85c2b2aeb7e2de17f7478570fa34fafda60d87bc203edbdb77bfb493b591d2df7a7cb295c977f6b4589bcbfed37c
6
+ metadata.gz: ed31a75382dd9e7b00cf2fa96bdddfd4c083b6fb89c99ef8c1f48214139556e116e805dee2a93587bb653ef5cd449cb31a4326335048945d5c9913f554910421
7
+ data.tar.gz: 8dd07420d28317ae19543565167ed56f1aafce63a25fc829d472a49b6e89fdaeca7d7e2a5e961c0a6937139ac3667884f83f087677d81577ba8cf21bc9746602
data/README.md CHANGED
@@ -1,8 +1,18 @@
1
1
  [![Netlify Status](https://api.netlify.com/api/v1/badges/5f205b3a-73c2-472c-b052-82b95bdf36b7/deploy-status)](https://app.netlify.com/sites/sleepy-bhabha-00eedf/deploys)
2
2
 
3
- # Jekflix Template
3
+ ### Hey guys, how are you? 🍽 🇧🇷
4
+
5
+ As you know, this is a 100% free template, I earn nothing to maintain it. So, I have this idea and hope you can join me for a good cause.
6
+
7
+ Every donation that I receive from this project from now on (04/11/21), I'll donate to NGOs that work against hunger in Brazil.
8
+
9
+ If you feel the template is worth it and you could help people in need, here is the link:
10
+
11
+ [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SAKL66RSDGH48&source=url)
12
+
13
+ Thank you!
4
14
 
5
- Version 3.0 is [here](https://github.com/thiagorossener/jekflix-template#v300)! 🎉🎊
15
+ # Jekflix Template
6
16
 
7
17
  ![Jekflix Template Cover Image](https://res.cloudinary.com/dm7h7e8xj/image/upload/v1505354182/jekflix-logo_mfngps.png)
8
18
 
@@ -38,6 +48,7 @@ A theme for Jekyll inspired by Netflix panel for who loves movies and series and
38
48
  - [Post recommendation](https://github.com/thiagorossener/jekflix-template/wiki/Features#post-recommendation)
39
49
  - [Netlify CMS ready](https://github.com/thiagorossener/jekflix-template/wiki/Features#netlify-cms-ready)
40
50
  - [Translations](https://github.com/thiagorossener/jekflix-template/wiki/setup#translations) **new!**
51
+ - [Math Expressions](https://github.com/thiagorossener/jekflix-template/wiki/Features#math-expressions) *(optional)* **new!**
41
52
 
42
53
  ## SEO
43
54
 
@@ -212,9 +223,15 @@ Use the [Front Matter properties](https://github.com/thiagorossener/jekflix-temp
212
223
 
213
224
  ## Release notes
214
225
 
226
+ ### v3.1.1
227
+
228
+ - Added `formspree_form_id` config
229
+ - Bumped up dependencies
230
+ - Fixed minor bugs
231
+
215
232
  ### v3.1.0
216
233
 
217
- - Fixed hero URL
234
+ - Fixed hero URL, thanks to [@JoelSalzesson](https://github.com/JoelSalzesson)
218
235
  - Updated Google Analytics script, thanks to [@JHLeeeMe](https://github.com/JHLeeeMe)
219
236
  - Added MathJax library to render math expressions, thanks to [@XieGuochao](https://github.com/XieGuochao)
220
237
 
@@ -264,12 +281,6 @@ Use the [Front Matter properties](https://github.com/thiagorossener/jekflix-temp
264
281
 
265
282
  File a [GitHub issue](https://github.com/thiagorossener/jekflix-template/issues/new) please.
266
283
 
267
- ## Donation
268
-
269
- Did you like my work? Buy me a beer 😁🍺
270
-
271
- [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SAKL66RSDGH48&source=url)
272
-
273
284
  ## Author
274
285
 
275
286
  [Thiago Rossener](https://rossener.com/)
data/_includes/head.html CHANGED
@@ -43,7 +43,13 @@
43
43
  <meta name="twitter:card" content="summary_large_image">
44
44
  <meta name="twitter:title" content="{{ title }}">
45
45
  <meta name="twitter:description" content="{{ description }}">
46
- <meta property="twitter:image:src" content="{{ image }}">
46
+
47
+ {% if image contains '://' %}
48
+ <meta property="twitter:image" content="{{ image }}">
49
+ {% else %}
50
+ <meta property="twitter:image" content="{{ image | prepend: site.url }}">
51
+ {% endif %}
52
+
47
53
  {% if site.twitter_username %}
48
54
  <meta name="twitter:site" content="@{{ site.twitter_username }}">
49
55
  {% endif %}
data/_includes/share.html CHANGED
@@ -1,6 +1,6 @@
1
1
  <section class="share">
2
2
  <h3>{{ site.translations.text.share | default: "Share" }}</h3>
3
- <a aria-label="{{ site.translations.button.share_on_twitter | default: 'Share on Twitter' }}" href="https://twitter.com/intent/tweet?text=&quot;{{ page.description }}&quot;%20{{ site.url }}{{ page.url }}%20via%20&#64;{{ site.twitter_username }}&hashtags={% for tag in page.tags %}{{tag}},{% endfor %}"
3
+ <a aria-label="{{ site.translations.button.share_on_twitter | default: 'Share on Twitter' }}" href="https://twitter.com/intent/tweet?text=&quot;{{ page.description }}&quot;%20{{ site.url }}{{ page.url }}%20via%20&#64;{{ site.twitter_username }}&hashtags={{ page.tags | join: ',' }}"
4
4
  onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;" title="{{ site.translations.button.share_on_twitter | default: 'Share on Twitter' }}">
5
5
  <svg class="icon icon-twitter"><use xlink:href="#icon-twitter"></use></svg>
6
6
  </a>
@@ -2,7 +2,7 @@
2
2
  layout: page
3
3
  ---
4
4
 
5
- {% if site.email %}
5
+ {% if site.email or site.formspree_form_id %}
6
6
 
7
7
  <style type="text/css" media="screen">
8
8
  .container {
@@ -16,7 +16,7 @@ layout: page
16
16
  <h2>{{ site.translations.contact.title | default: "Talk to me" }}</h2>
17
17
 
18
18
  <div id="form" class="contact-form">
19
- <form accept-charset="UTF-8" method="POST" action="https://formspree.io/{{ site.email }}" v-on:submit.prevent="validateBeforeSubmit" ref="contact">
19
+ <form accept-charset="UTF-8" method="POST" action="https://formspree.io/{% if site.formspree_form_id %}f/{{ site.formspree_form_id }}{% else %}{{ site.email }}{% endif %}" v-on:submit.prevent="validateBeforeSubmit" ref="contact">
20
20
  <fieldset>
21
21
  <input type="hidden" name="_subject" value="{{ site.translations.contact.subject | default: 'New contact!' }}" />
22
22
  <input type="hidden" name="_next" value="{{ site.url }}{{ site.sent_message_url }}" />
data/_layouts/home.html CHANGED
@@ -178,7 +178,7 @@ layout: main
178
178
  "genre": "{{ post.category | capitalize }}",
179
179
  "articleSection": "{{ post.category | capitalize }}",
180
180
  "keywords": [{{ post.tags | join: '","' | append: '"' | prepend: '"' }}]
181
- }{% if forloop.index < limit %},{% endif %}
181
+ }{% if forloop.last == false %},{% endif %}
182
182
  {% endfor %}
183
183
  ]
184
184
  }
data/_layouts/tags.html CHANGED
@@ -28,7 +28,7 @@ layout: minimal
28
28
  {% for post in pages_list reversed %}
29
29
  {% if post.title != null and post.is_generated != true %}
30
30
  {% if group == null or group == post.group %}
31
- <li><a href="{{ site.url }}{{ post.url }}">{{ post.title }}<span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: date_format }}</time></a></li>
31
+ <li><a href="{{ site.url }}{{ site.baseurl }}{{ post.url }}">{{ post.title }}<span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: date_format }}</time></a></li>
32
32
  {% endif %}
33
33
  {% endif %}
34
34
  {% endfor %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekflix
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Rossener
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2021-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rouge
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '12.0'
97
- description:
97
+ description:
98
98
  email:
99
99
  - thiago@rossener.com
100
100
  executables: []
@@ -209,7 +209,7 @@ homepage: https://jekflix.rossener.com/
209
209
  licenses:
210
210
  - MIT
211
211
  metadata: {}
212
- post_install_message:
212
+ post_install_message:
213
213
  rdoc_options: []
214
214
  require_paths:
215
215
  - lib
@@ -224,8 +224,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  requirements: []
227
- rubygems_version: 3.1.2
228
- signing_key:
227
+ rubygems_version: 3.2.3
228
+ signing_key:
229
229
  specification_version: 4
230
230
  summary: A Jekyll theme inspired by Netflix.
231
231
  test_files: []