minima 2.3.0 → 2.4.0

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: 5e4f4232a142602d94a8f4ec18e42c41cea8785df902284fd9f0901d48aaf1ea
4
- data.tar.gz: c35b9f8acd809ad572565c066fcfac6a507e73ec2527f6cc7215544b0096c479
3
+ metadata.gz: 4b30dc614851d7854e3490046fb2fb85f62121ebe38319748563a1f8caebeec2
4
+ data.tar.gz: 6e92dec60aa6d27eaeb92ffe76c7175abf11f9d1ab6590154fe83aa2dd7ba0c9
5
5
  SHA512:
6
- metadata.gz: 249fb7e61e3a9f40117bfc92beba2f56d7eb7af89ad318fd2ea2eac080f9ca21aa90011e0853603d67ea79f9bc97650652259a6d720801d5c84db51351d758e7
7
- data.tar.gz: 67d33f94c0d02c3bbcf1dc2a5200ff0525e064af055a14728d640fbdb6efb70df0bc02dba6ca01753041561c3d1f6679bd66b14a543fd7fc41bbb4c4b1c7793a
6
+ metadata.gz: a454e962ccb0a3b4fa152288913cd6e13d46fc8234c72deb12870aaecf4d03377689f3b7670d4c7d027e27fe6c00bb69eb6a8aee9397b6d9a6af19ca2311694b
7
+ data.tar.gz: 84436e9dea2cba0bfcd1f7e6c4852bb52a29504ba2f23223f63b951279389b7faac188e21c2433bd2c80522964dc539b76c7f8043d1166e09a9054bd82cda6ef
data/README.md CHANGED
@@ -173,6 +173,12 @@ pinterest_username: jekyll
173
173
  youtube_username: jekyll
174
174
  googleplus_username: +jekyll
175
175
  rss: rss
176
+
177
+ mastodon:
178
+ - username: jekyll
179
+ instance: example.com
180
+ - username: jekyll2
181
+ instance: example.com
176
182
  ```
177
183
 
178
184
  --
@@ -1,4 +1,4 @@
1
- {% if page.comments != false and jekyll.environment == "production" %}
1
+ {%- if page.comments != false and jekyll.environment == "production" -%}
2
2
 
3
3
  <div id="disqus_thread"></div>
4
4
  <script>
@@ -17,4 +17,4 @@
17
17
  })();
18
18
  </script>
19
19
  <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
- {% endif %}
20
+ {%- endif -%}
@@ -9,24 +9,24 @@
9
9
  <div class="footer-col footer-col-1">
10
10
  <ul class="contact-list">
11
11
  <li class="p-name">
12
- {% if site.author %}
12
+ {%- if site.author -%}
13
13
  {{ site.author | escape }}
14
- {% else %}
14
+ {%- else -%}
15
15
  {{ site.title | escape }}
16
- {% endif %}
16
+ {%- endif -%}
17
17
  </li>
18
- {% if site.email %}
18
+ {%- if site.email -%}
19
19
  <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
20
- {% endif %}
20
+ {%- endif -%}
21
21
  </ul>
22
22
  </div>
23
23
 
24
24
  <div class="footer-col footer-col-2">
25
- {% include social.html %}
25
+ {%- include social.html -%}
26
26
  </div>
27
27
 
28
28
  <div class="footer-col footer-col-3">
29
- <p>{{ site.description | escape }}</p>
29
+ <p>{{- site.description | escape -}}</p>
30
30
  </div>
31
31
  </div>
32
32
 
@@ -2,10 +2,10 @@
2
2
  <meta charset="utf-8">
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- {% seo %}
5
+ {%- seo -%}
6
6
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
7
- {% feed_meta %}
8
- {% if jekyll.environment == 'production' and site.google_analytics %}
9
- {% include google-analytics.html %}
10
- {% endif %}
7
+ {%- feed_meta -%}
8
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
9
+ {%- include google-analytics.html -%}
10
+ {%- endif -%}
11
11
  </head>
@@ -1,11 +1,11 @@
1
1
  <header class="site-header" role="banner">
2
2
 
3
3
  <div class="wrapper">
4
- {% assign default_paths = site.pages | map: "path" %}
5
- {% assign page_paths = site.header_pages | default: default_paths %}
4
+ {%- assign default_paths = site.pages | map: "path" -%}
5
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
6
6
  <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
7
7
 
8
- {% if page_paths %}
8
+ {%- if page_paths -%}
9
9
  <nav class="site-nav">
10
10
  <input type="checkbox" id="nav-trigger" class="nav-trigger" />
11
11
  <label for="nav-trigger">
@@ -19,14 +19,14 @@
19
19
  </label>
20
20
 
21
21
  <div class="trigger">
22
- {% for path in page_paths %}
23
- {% assign my_page = site.pages | where: "path", path | first %}
24
- {% if my_page.title %}
22
+ {%- for path in page_paths -%}
23
+ {%- assign my_page = site.pages | where: "path", path | first -%}
24
+ {%- if my_page.title -%}
25
25
  <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
26
- {% endif %}
27
- {% endfor %}
26
+ {%- endif -%}
27
+ {% endfor -%}
28
28
  </div>
29
29
  </nav>
30
- {% endif %}
30
+ {%- endif -%}
31
31
  </div>
32
32
  </header>
@@ -1,13 +1,14 @@
1
1
  <ul class="social-media-list">
2
- {% if site.dribbble_username%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#dribbble"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{% endif %}
3
- {% if site.facebook_username%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#facebook"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{% endif %}
4
- {% if site.flickr_username%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#flickr"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{% endif %}
5
- {% if site.github_username%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#github"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{% endif %}
6
- {% if site.instagram_username%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#instagram"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{% endif %}
7
- {% if site.linkedin_username%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#linkedin"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{% endif %}
8
- {% if site.pinterest_username%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#pinterest"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{% endif %}
9
- {% if site.twitter_username%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#twitter"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{% endif %}
10
- {% if site.youtube_username%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#youtube"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{% endif %}
11
- {% if site.googleplus_username%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#googleplus"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{% endif %}
12
- {% if site.rss %}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#rss"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{% endif %}
2
+ {%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
3
+ {%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
4
+ {%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
5
+ {%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
6
+ {%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
7
+ {%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
8
+ {%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
9
+ {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
10
+ {%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
11
+ {%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
12
+ {%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
13
+ {%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
13
14
  </ul>
@@ -1,11 +1,11 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
3
 
4
- {% include head.html %}
4
+ {%- include head.html -%}
5
5
 
6
6
  <body>
7
7
 
8
- {% include header.html %}
8
+ {%- include header.html -%}
9
9
 
10
10
  <main class="page-content" aria-label="Content">
11
11
  <div class="wrapper">
@@ -13,7 +13,7 @@
13
13
  </div>
14
14
  </main>
15
15
 
16
- {% include footer.html %}
16
+ {%- include footer.html -%}
17
17
 
18
18
  </body>
19
19
 
@@ -3,32 +3,32 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="home">
6
- {% if page.title %}
6
+ {%- if page.title -%}
7
7
  <h1 class="page-heading">{{ page.title }}</h1>
8
- {% endif %}
8
+ {%- endif -%}
9
9
 
10
10
  {{ content }}
11
11
 
12
- {% if site.posts.size > 0 %}
12
+ {%- if site.posts.size > 0 -%}
13
13
  <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
14
14
  <ul class="post-list">
15
- {% for post in site.posts %}
15
+ {%- for post in site.posts -%}
16
16
  <li>
17
- {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
17
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
18
18
  <span class="post-meta">{{ post.date | date: date_format }}</span>
19
19
  <h3>
20
20
  <a class="post-link" href="{{ post.url | relative_url }}">
21
21
  {{ post.title | escape }}
22
22
  </a>
23
23
  </h3>
24
- {% if site.show_excerpts %}
24
+ {%- if site.show_excerpts -%}
25
25
  {{ post.excerpt }}
26
- {% endif %}
26
+ {%- endif -%}
27
27
  </li>
28
- {% endfor %}
28
+ {%- endfor -%}
29
29
  </ul>
30
30
 
31
31
  <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
32
- {% endif %}
32
+ {%- endif -%}
33
33
 
34
34
  </div>
@@ -7,21 +7,21 @@ layout: default
7
7
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
8
  <p class="post-meta">
9
9
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
- {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
10
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
11
11
  {{ page.date | date: date_format }}
12
12
  </time>
13
- {% if page.author %}
13
+ {%- if page.author -%}
14
14
  • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
15
- {% endif %}</p>
15
+ {%- endif -%}</p>
16
16
  </header>
17
17
 
18
18
  <div class="post-content e-content" itemprop="articleBody">
19
19
  {{ content }}
20
20
  </div>
21
21
 
22
- {% if site.disqus.shortname %}
23
- {% include disqus_comments.html %}
24
- {% endif %}
22
+ {%- if site.disqus.shortname -%}
23
+ {%- include disqus_comments.html -%}
24
+ {%- endif -%}
25
25
 
26
26
  <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
27
27
  </article>
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Define defaults for each variable.
4
4
 
5
- $base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
5
+ $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6
6
  $base-font-size: 16px !default;
7
7
  $base-font-weight: 400 !default;
8
8
  $small-font-size: $base-font-size * 0.875 !default;
@@ -39,6 +39,15 @@ ul, ol, dl, figure,
39
39
 
40
40
 
41
41
 
42
+ /**
43
+ * `main` element
44
+ */
45
+ main {
46
+ display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
47
+ }
48
+
49
+
50
+
42
51
  /**
43
52
  * Images
44
53
  */
@@ -24,4 +24,10 @@
24
24
 
25
25
  <symbol id="youtube" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M0 7.345c0-1.294.16-2.59.16-2.59s.156-1.1.636-1.587c.608-.637 1.408-.617 1.764-.684C3.84 2.36 8 2.324 8 2.324s3.362.004 5.6.166c.314.038.996.04 1.604.678.48.486.636 1.588.636 1.588S16 6.05 16 7.346v1.258c0 1.296-.16 2.59-.16 2.59s-.156 1.102-.636 1.588c-.608.638-1.29.64-1.604.678-2.238.162-5.6.166-5.6.166s-4.16-.037-5.44-.16c-.356-.067-1.156-.047-1.764-.684-.48-.487-.636-1.587-.636-1.587S0 9.9 0 8.605v-1.26zm6.348 2.73V5.58l4.323 2.255-4.32 2.24z"/></symbol>
26
26
 
27
+ <symbol id="mastodon" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414">
28
+ <path transform="scale(0.07)" d="M211.80734 139.0875c-3.18125 16.36625-28.4925 34.2775-57.5625 37.74875-15.15875 1.80875-30.08375 3.47125-45.99875 2.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125 0 2.53375.15625 4.94625.46875 7.2025 3.38375 25.68625 25.47 27.225 46.39125 27.9425 21.11625.7225 39.91875-5.20625 39.91875-5.20625l.8675 19.09s-14.77 7.93125-41.08125 9.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234 213.82 1.40609 165.31125.20859 116.09125c-.365-14.61375-.14-28.39375-.14-39.91875 0-50.33 32.97625-65.0825 32.97625-65.0825C49.67234 3.45375 78.20359.2425 107.86484 0h.72875c29.66125.2425 58.21125 3.45375 74.8375 11.09 0 0 32.975 14.7525 32.975 65.0825 0 0 .41375 37.13375-4.59875 62.915"/>
29
+ <path transform="scale(0.07)" fill="#FFF" d="M177.50984 80.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025 0-17.4175 7.5075-17.4175 22.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375 0-15.74 6.32875-15.74 18.7975v59.15H38.90484V80.077c0-12.455 3.17125-22.3525 9.54125-29.675 6.56875-7.3225 15.17125-11.07625 25.85-11.07625 12.355 0 21.71125 4.74875 27.8975 14.2475l6.01375 10.08125 6.015-10.08125c6.185-9.49875 15.54125-14.2475 27.8975-14.2475 10.6775 0 19.28 3.75375 25.85 11.07625 6.36875 7.3225 9.54 17.22 9.54 29.675"/>
30
+ </symbol>
31
+
32
+
27
33
  </svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minima
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Glovier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-29 00:00:00.000000000 Z
11
+ date: 2018-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.7.4
115
+ rubygems_version: 2.7.6
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: A beautiful, minimal theme for Jekyll.