fuzzy-theme 1.0.3 → 1.0.4

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: b926d85649ab6a551c680ac13c2c13b4f931f85861db9ba848ebc84fc5ea5f33
4
- data.tar.gz: a4b57a19b0b581b374cc2ed1f44a2a14e08456cbda7f14bb2ab1ee2ae859cf87
3
+ metadata.gz: 5169cdb735e52a48880906ae48fd57bd0a4fd034b9654085dd5704f8c8665e4d
4
+ data.tar.gz: 35d1add338fc59fbac3c0296660cca82849600f7ff4c1432f968599fdabf2c2e
5
5
  SHA512:
6
- metadata.gz: a785fe48947b5fc7cf67d36f1d1211403c7a2c4672a804589bce252109f16faefea6ded2a1d243d293cc96ee4edf82de72404969e1eafdafad9a12038c1b1fe1
7
- data.tar.gz: c8f2421d9842938f0b2e3ddb631a69b06097cf5d46bb323254816ff75fe09679a33d7bde8dbbb6399b13860329f5dbc4369e1f07a065cef3f97c5b292628c4cc
6
+ metadata.gz: 85ecd30fbca234b94515eb97b92e1cbc70aed08797427eaae8e3d35e98e6aba4d2f1c15485d76df4e0750a493e044241aa50ebaa6c2a5413cc5abcd39b5a7e24
7
+ data.tar.gz: 656637fc8cf5370515b8f9e4b48c143954927d11d61ffbad93e95ec32b0d3c4f367a1a12a7e539f0b36f49dd40015b6a7682e35dfbce1593770a4f6b6327c668
@@ -1,16 +1,16 @@
1
1
  <head>
2
- {%- if page.title -%}
2
+ {% if page.title %}
3
3
  <title>{{ page.title }} - {{ site.title }}</title>
4
- {%- else -%}
4
+ {% else %}
5
5
  <title>{{ site.title }}</title>
6
- {%- endif -%}
6
+ {% endif %}
7
7
 
8
8
  <meta charset="utf-8">
9
9
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
10
10
  <meta name="description" content="{{ site.description }}">
11
11
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
12
12
 
13
- {%- seo -%}
13
+ {% seo %}
14
14
 
15
15
  <link rel="shortcut icon" type="image/png" href="{{ "/favicon.ico" | relative_url }}"/>
16
16
 
@@ -25,8 +25,8 @@
25
25
 
26
26
  <link rel="stylesheet" href="{{ "/assets/css/main.min.css" | relative_url }}">
27
27
 
28
- {%- feed_meta -%}
29
- {%- if jekyll.environment == 'production' and site.google_analytics -%}
28
+ {% feed_meta %}
29
+ {% if jekyll.environment == 'production' and site.google_analytics %}
30
30
  <script>
31
31
  if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
32
32
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
@@ -37,5 +37,5 @@
37
37
  ga('send', 'pageview');
38
38
  }
39
39
  </script>
40
- {%- endif -%}
40
+ {% endif %}
41
41
  </head>
@@ -1,21 +1,21 @@
1
1
  <header class="site-header" role="banner">
2
2
  <div class="wrapper">
3
- {%- assign default_paths = site.pages | map: "path" -%}
4
- {%- assign page_paths = site.header_pages | default: default_paths -%}
3
+ {% assign default_paths = site.pages | map: "path" %}
4
+ {% assign page_paths = site.header_pages | default: default_paths %}
5
5
 
6
- {%- if page_paths -%}
6
+ {% if page_paths %}
7
7
  <nav class="grey">
8
8
  <div class="nav-wrapper">
9
9
  <a href="#" data-target="mobile-nav" class="sidenav-trigger"><i class="material-icons">menu</i></a>
10
10
  <ul id="nav-mobile" class="right hide-on-med-and-down">
11
11
 
12
12
  <li><a class="page-link" href="/">Home</a></li>
13
- {%- for path in page_paths -%}
14
- {%- assign my_page = site.pages | where: "path", path | first -%}
15
- {%- if my_page.title -%}
13
+ {% for path in page_paths %}
14
+ {% assign my_page = site.pages | where: "path", path | first %}
15
+ {% if my_page.title %}
16
16
  <li><a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
17
- {%- endif -%}
18
- {%- endfor -%}
17
+ {% endif %}
18
+ {% endfor %}
19
19
  </ul>
20
20
  </div>
21
21
  </nav>
@@ -23,13 +23,13 @@
23
23
  <script>$(document).ready(function(){$('.sidenav').sidenav();});</script>
24
24
  <ul class="sidenav" id="mobile-nav">
25
25
  <li><a class="page-link" href="/">Home</a></li>
26
- {%- for path in page_paths -%}
27
- {%- assign my_page = site.pages | where: "path", path | first -%}
28
- {%- if my_page.title -%}
26
+ {% for path in page_paths %}
27
+ {% assign my_page = site.pages | where: "path", path | first %}
28
+ {% if my_page.title %}
29
29
  <li><a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
30
- {%- endif -%}
31
- {%- endfor -%}
30
+ {% endif %}
31
+ {% endfor %}
32
32
  </ul>
33
- {%- endif -%}
33
+ {% endif %}
34
34
  </div>
35
35
  </header>
data/_layouts/home.html CHANGED
@@ -3,32 +3,28 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="home">
6
- {%- if page.title -%}
7
- <h1 class="page-heading">{{ page.title }}</h1>
8
- {%- endif -%}
9
-
10
6
  {{ content }}
11
7
 
12
- {%- if site.posts.size > 0 -%}
8
+ {% if site.posts.size > 0 %}
13
9
  <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
14
10
  <ul class="post-list">
15
- {%- for post in site.posts -%}
11
+ {% for post in site.posts %}
16
12
  <li>
17
- {%- assign date_format = site.fuzzy.date_format | default: "%b %-d, %Y" -%}
13
+ {% assign date_format = site.fuzzy.date_format | default: "%b %-d, %Y" %}
18
14
  <span class="post-meta">{{ post.date | date: date_format }}</span>
19
15
  <h3>
20
16
  <a class="post-link" href="{{ post.url | relative_url }}">
21
17
  {{ post.title | escape }}
22
18
  </a>
23
19
  </h3>
24
- {%- if site.show_excerpts -%}
20
+ {% if site.show_excerpts %}
25
21
  {{ post.excerpt }}
26
- {%- endif -%}
22
+ {% endif %}
27
23
  </li>
28
- {%- endfor -%}
24
+ {% endfor %}
29
25
  </ul>
30
26
 
31
27
  <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
32
- {%- endif -%}
28
+ {% endif %}
33
29
 
34
30
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuzzy-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luís Ferreira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-22 00:00:00.000000000 Z
11
+ date: 2018-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll