no-style-please 0.4.0 → 0.4.2

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: 442f43ae145f3cf3f4e0b9f9e8ef851a7b82f08bd339168c0e0b98825e49f732
4
- data.tar.gz: 30e7d6afaea0f459f9942db138035c045d9eee83d44dcf029eed7250c414af67
3
+ metadata.gz: 1ecb684babe73633d99791b629f4a6f8f77f3e3edc0acc52596a54010551b1f8
4
+ data.tar.gz: 182294102b68b76366d9b83f0589b5f7159ab9f8f8aea517400c4c29a81c7c8e
5
5
  SHA512:
6
- metadata.gz: f575b2d5608c6cc903f6d9b025130430f2bc643712614ddfd12c86bc94b0eb2d5d2cfbe73cb88dd3ff27ab81fa84a84d18779c358510bcf6d263ac1f320db9c7
7
- data.tar.gz: 8ab21365b756381780641d1621a1cb56a85058108147d6cc59e132121237187e2cfe7a8ee7d4aff582fd6dee551f6fe8779b44ba409cb04bf0ef929b70c7a19c
6
+ metadata.gz: 4caccbd0ccc483e2c20d36d6314ddeb3e3b790d52c5ffc8815df6d873033a3b6a5e3431600d83abb79ba57c17e22cbafa41d15c22495e4c432ec4e78e684c622
7
+ data.tar.gz: a22246152c03f7bf57a48d1e70491c489970b3c64ddd735efe6c192230a345ced6b070308d36eddc03ee046007491760a16ac0659bfb60ac4746d868200a74aa
data/_config.yml CHANGED
@@ -24,4 +24,4 @@ sass:
24
24
 
25
25
  plugins:
26
26
  - jekyll-feed
27
- - jekyll-seo-tag
27
+ - jekyll-seo-tag
data/_includes/head.html CHANGED
@@ -11,8 +11,8 @@
11
11
  {%- endif -%}
12
12
  </title>
13
13
 
14
- {% seo title=false %}
15
- {% feed_meta %}
14
+ {%-seo title=false-%}
15
+ {%-feed_meta-%}
16
16
 
17
17
  <link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}" />
18
18
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
@@ -1,5 +1,5 @@
1
1
  <ul>
2
- {% for item in include.collection %}
2
+ {%-for item in include.collection-%}
3
3
  <li>
4
4
  {%- if item.url -%}
5
5
  <a href="{{ item.url }}">{{ item.title }}</a>
@@ -8,7 +8,7 @@
8
8
  {%- endif -%}
9
9
  </li>
10
10
 
11
- {% if item.post_list %}
11
+ {%-if item.post_list-%}
12
12
  {%
13
13
  include post_list.html
14
14
  category=item.post_list.category
@@ -16,11 +16,11 @@
16
16
  show_more=item.post_list.show_more
17
17
  show_more_text=item.post_list.show_more_text
18
18
  show_more_url=item.post_list.show_more_url
19
- %}
20
- {% endif %}
19
+ -%}
20
+ {%-endif-%}
21
21
 
22
- {% if item.entries %}
23
- {% include menu_item.html collection=item.entries %}
24
- {% endif %}
25
- {% endfor %}
22
+ {%-if item.entries-%}
23
+ {%-include menu_item.html collection=item.entries-%}
24
+ {%-endif-%}
25
+ {%-endfor-%}
26
26
  </ul>
@@ -1,14 +1,14 @@
1
- {% if include.category %}
2
- {% assign posts = site.categories[include.category] %}
3
- {% else %}
4
- {% assign posts = site.posts %}
5
- {% endif %}
1
+ {%-if include.category-%}
2
+ {%-assign posts = site.categories[include.category]-%}
3
+ {%-else-%}
4
+ {%-assign posts = site.posts-%}
5
+ {%-endif-%}
6
6
 
7
- {% if include.limit and posts.size > include.limit %}
8
- {% assign limit_exceeded = true %}
9
- {% else %}
10
- {% assign limit_exceeded = false %}
11
- {% endif %}
7
+ {%-if include.limit and posts.size > include.limit-%}
8
+ {%-assign limit_exceeded = true-%}
9
+ {%-else-%}
10
+ {%-assign limit_exceeded = false-%}
11
+ {%-endif-%}
12
12
 
13
13
  {%- if posts.size > 0 -%}
14
14
  <ul>
@@ -2,8 +2,8 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% include back_link.html %}
5
+ {%-include back_link.html-%}
6
6
 
7
7
  <h1>{{ page.title }}</h1>
8
8
 
9
- {% include post_list.html category=page.which_category %}
9
+ {%-include post_list.html category=page.which_category-%}
@@ -8,8 +8,8 @@
8
8
  </div>
9
9
  </main>
10
10
 
11
- {% if site.goat_counter and jekyll.environment == "production" %}
12
- {% include goat_counter.html %}
13
- {% endif %}
11
+ {%-if site.goat_counter and jekyll.environment == "production"-%}
12
+ {%-include goat_counter.html-%}
13
+ {%-endif-%}
14
14
  </body>
15
15
  </html>
data/_layouts/home.html CHANGED
@@ -3,11 +3,11 @@ layout: default
3
3
  ---
4
4
  <header>
5
5
  <h1>{{ site.title }}</h1>
6
- {% if site.theme_config.show_description %}
6
+ {%-if site.theme_config.show_description-%}
7
7
  <p>{{ site.description }}</p>
8
- {% endif %}
8
+ {%-endif-%}
9
9
  </header>
10
10
 
11
- {% include menu_item.html collection=site.data.menu.entries %}
11
+ {%-include menu_item.html collection=site.data.menu.entries-%}
12
12
 
13
13
  {{ content }}
data/_layouts/page.html CHANGED
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% include back_link.html %}
5
+ {%-include back_link.html-%}
6
6
 
7
7
  <h1>{{ page.title }}</h1>
8
8
 
data/_layouts/post.html CHANGED
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% include back_link.html %}
5
+ {%-include back_link.html-%}
6
6
 
7
7
  <article>
8
8
  <p class="post-meta">
@@ -74,6 +74,7 @@ code {
74
74
  div.highlighter-rouge code {
75
75
  display: block;
76
76
  overflow-x: auto;
77
+ white-space: pre-wrap;
77
78
  padding: 1rem;
78
79
  }
79
80
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no-style-please
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Riccardo Graziosi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-21 00:00:00.000000000 Z
11
+ date: 2021-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll