sutty-minima 2.5.0 → 2.5.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 +4 -4
- data/README.md +4 -4
- data/_includes/footer.html +3 -3
- data/_includes/google-analytics.html +1 -1
- data/_includes/head.html +5 -1
- data/_includes/header.html +2 -2
- data/_includes/social.html +17 -17
- data/_layouts/home.html +3 -3
- data/_layouts/post.html +1 -1
- data/_sass/minima/initialize.scss +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1494cb15a441e6bb15cbf8c6e1e4f84d273dd21aa252a9fcd8e1afdd97796c9a
|
4
|
+
data.tar.gz: 68b9a181a5fe4e66b8707383fc4316d27525a0dfc43be1559574e5a90f898a5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c91d0367e25ef6e376024a93cf9df80fc6ea044700b17b3884425e97bfc12e81df1c59a1035b1887b6f5b389c8ffbcd97327429f2d5088f92915691561f6f8dd
|
7
|
+
data.tar.gz: 7de21eb94266eb17d86086435530cbfb17683dc1b87272bb4198200743e4a03a6029d1e75c69626cd858de13d8dd1fb04f8b93a0bec3aec38df26bcf6e8f67a5
|
data/README.md
CHANGED
@@ -118,7 +118,7 @@ The site's default CSS has now moved to a new place within the gem itself, [`ass
|
|
118
118
|
In Minima 3.0, if you only need to customize the colors of the theme, refer to the subsequent section on skins. To have your
|
119
119
|
*CSS overrides* in sync with upstream changes released in future versions, you can collect all your overrides for the Sass
|
120
120
|
variables and mixins inside a sass file placed at `_sass/minima/custom-variables.scss` and all other overrides inside a sass file
|
121
|
-
placed at path `_sass/minima/custom.scss`.
|
121
|
+
placed at path `_sass/minima/custom-styles.scss`.
|
122
122
|
|
123
123
|
You need not maintain entire partial(s) at the site's source just to override a few styles. However, your stylesheet's primary
|
124
124
|
source (`assets/css/style.scss`) should contain the following:
|
@@ -216,7 +216,9 @@ You can *add* custom metadata to the `<head />` of your layouts by creating a fi
|
|
216
216
|
|
217
217
|
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
|
218
218
|
|
219
|
-
|
219
|
+
:warning: `url`, e.g. `https://example.com`, must be set in you config file for Disqus to work.
|
220
|
+
|
221
|
+
To enable it, after setting the url field, you also need to add the following lines to your Jekyll site:
|
220
222
|
|
221
223
|
```yaml
|
222
224
|
disqus:
|
@@ -229,8 +231,6 @@ Comments are enabled by default and will only appear in production, i.e., `JEKYL
|
|
229
231
|
|
230
232
|
If you don't want to display comments for a particular post you can disable them by adding `comments: false` to that post's YAML Front Matter.
|
231
233
|
|
232
|
-
:warning: `url`, e.g. `https://example.com`, must be set in you config file for Disqus to work.
|
233
|
-
|
234
234
|
### Author Metadata
|
235
235
|
|
236
236
|
From `Minima-3.0` onwards, `site.author` is expected to be a mapping of attributes instead of a simple scalar value:
|
data/_includes/footer.html
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
<footer class="site-footer h-card">
|
2
|
-
<data class="u-url" href="
|
2
|
+
<data class="u-url" href="?#"></data>
|
3
3
|
|
4
4
|
<div class="wrapper">
|
5
5
|
|
6
6
|
<div class="footer-col-wrapper">
|
7
7
|
<div class="footer-col">
|
8
8
|
<p class="feed-subscribe">
|
9
|
-
<a href="
|
9
|
+
<a href="feed.xml">
|
10
10
|
<svg class="svg-icon orange">
|
11
|
-
<use xlink:href="
|
11
|
+
<use xlink:href="assets/minima-social-icons.svg#rss"></use>
|
12
12
|
</svg><span>Subscribe</span>
|
13
13
|
</a>
|
14
14
|
</p>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<script>
|
3
3
|
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
4
4
|
window.dataLayer = window.dataLayer || [];
|
5
|
-
function gtag(){dataLayer.push(arguments);}
|
5
|
+
function gtag(){window.dataLayer.push(arguments);}
|
6
6
|
gtag('js', new Date());
|
7
7
|
|
8
8
|
gtag('config', '{{ site.google_analytics }}');
|
data/_includes/head.html
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
<head>
|
2
2
|
<meta charset="utf-8">
|
3
|
+
<base href="{% base %}" />
|
3
4
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
<meta name="theme-color" content="white"/>
|
7
|
+
<meta name="color-scheme" content="light"/>
|
8
|
+
<meta name="referrer" content="strict-origin-when-cross-origin"/>
|
5
9
|
{%- seo -%}
|
6
|
-
<link rel="stylesheet" href="
|
10
|
+
<link rel="stylesheet" href="assets/css/style.css">
|
7
11
|
{%- feed_meta -%}
|
8
12
|
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
9
13
|
{%- include google-analytics.html -%}
|
data/_includes/header.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
{%- assign default_paths = site.pages | map: "path" -%}
|
5
5
|
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
6
|
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
|
7
|
-
<a class="site-title" rel="author" href="
|
7
|
+
<a class="site-title" rel="author" href="?#">{{ site.title | escape }}</a>
|
8
8
|
|
9
9
|
{%- if titles_size > 0 -%}
|
10
10
|
<nav class="site-nav">
|
@@ -21,7 +21,7 @@
|
|
21
21
|
{%- for path in page_paths -%}
|
22
22
|
{%- assign my_page = site.pages | where: "path", path | first -%}
|
23
23
|
{%- if my_page.title -%}
|
24
|
-
<a class="page-link" href="{{ my_page.url
|
24
|
+
<a class="page-link" href="{{ my_page.url }}">{{ my_page.title | escape }}</a>
|
25
25
|
{%- endif -%}
|
26
26
|
{%- endfor -%}
|
27
27
|
</div>
|
data/_includes/social.html
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
{%- assign social = site.minima.social_links -%}
|
2
2
|
|
3
3
|
<ul class="social-media-list">
|
4
|
-
{%- for glb in social.gitlab -%}{%- if glb.username and glb.instance -%}<li><a rel="me" href="https://{{ glb.instance | cgi_escape | escape}}/{{glb.username}}" title="{{ glb.username | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
5
|
-
{%- if social.dribbble -%}<li><a rel="me" href="https://dribbble.com/{{ social.dribbble | cgi_escape | escape }}" title="{{ social.dribbble | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
6
|
-
{%- if social.facebook -%}<li><a rel="me" href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" title="{{ social.facebook | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
7
|
-
{%- if social.flickr -%}<li><a rel="me" href="https://www.flickr.com/photos/{{ social.flickr | cgi_escape | escape }}" title="{{ social.flickr | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
8
|
-
{%- if social.github -%}<li><a rel="me" href="https://github.com/{{ social.github | cgi_escape | escape }}" title="{{ social.github | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
9
|
-
{%- if social.stackoverflow -%}<li><a rel="me" href="https://stackoverflow.com/users/{{ social.stackoverflow | cgi_escape | escape }}" title="{{ social.stackoverflow | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
10
|
-
{%- if social.instagram -%}<li><a rel="me" href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" title="{{ social.instagram | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
11
|
-
{%- if social.linkedin -%}<li><a rel="me" href="https://www.linkedin.com/in/{{ social.linkedin | cgi_escape | escape }}" title="{{ social.linkedin | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
12
|
-
{%- if social.pinterest -%}<li><a rel="me" href="https://www.pinterest.com/{{ social.pinterest | cgi_escape | escape }}" title="{{ social.pinterest | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
13
|
-
{%- for mst in social.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance | cgi_escape | escape}}/@{{mst.username}}" title="{{ mst.username | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
14
|
-
{%- if social.twitter -%}<li><a rel="me" href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" title="{{ social.twitter | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
15
|
-
{%- if social.youtube -%}<li><a rel="me" href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" title="{{ social.youtube | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
16
|
-
{%- if social.youtube_channel -%}<li><a rel="me" href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><svg class="svg-icon grey"><use xlink:href="
|
17
|
-
{%- if social.telegram -%}<li><a rel="me" href="https://t.me/{{ social.telegram | cgi_escape | escape }}" title="{{ social.telegram | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
18
|
-
{%- if social.keybase -%}<li><a rel="me" href="https://keybase.io/{{ social.keybase | cgi_escape | escape }}" title="{{ social.keybase | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
19
|
-
{%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
20
|
-
{%- if social.devto -%}<li><a href="https://dev.to/{{ social.devto | cgi_escape | escape }}" title="{{ social.devto | escape }}"><svg class="svg-icon grey"><use xlink:href="
|
4
|
+
{%- for glb in social.gitlab -%}{%- if glb.username and glb.instance -%}<li><a rel="me" href="https://{{ glb.instance | cgi_escape | escape}}/{{glb.username}}" target="_blank" title="{{ glb.username | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#gitlab"></use></svg></a></li>{%- endif -%}{%- endfor -%}
|
5
|
+
{%- if social.dribbble -%}<li><a rel="me" href="https://dribbble.com/{{ social.dribbble | cgi_escape | escape }}" target="_blank" title="{{ social.dribbble | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#dribbble"></use></svg></a></li>{%- endif -%}
|
6
|
+
{%- if social.facebook -%}<li><a rel="me" href="https://www.facebook.com/{{ social.facebook | cgi_escape | escape }}" target="_blank" title="{{ social.facebook | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#facebook"></use></svg></a></li>{%- endif -%}
|
7
|
+
{%- if social.flickr -%}<li><a rel="me" href="https://www.flickr.com/photos/{{ social.flickr | cgi_escape | escape }}" target="_blank" title="{{ social.flickr | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#flickr"></use></svg></a></li>{%- endif -%}
|
8
|
+
{%- if social.github -%}<li><a rel="me" href="https://github.com/{{ social.github | cgi_escape | escape }}" target="_blank" title="{{ social.github | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#github"></use></svg></a></li>{%- endif -%}
|
9
|
+
{%- if social.stackoverflow -%}<li><a rel="me" href="https://stackoverflow.com/users/{{ social.stackoverflow | cgi_escape | escape }}" target="_blank" title="{{ social.stackoverflow | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#stackoverflow"></use></svg></a></li>{%- endif -%}
|
10
|
+
{%- if social.instagram -%}<li><a rel="me" href="https://www.instagram.com/{{ social.instagram | cgi_escape | escape }}" target="_blank" title="{{ social.instagram | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#instagram"></use></svg></a></li>{%- endif -%}
|
11
|
+
{%- if social.linkedin -%}<li><a rel="me" href="https://www.linkedin.com/in/{{ social.linkedin | cgi_escape | escape }}" target="_blank" title="{{ social.linkedin | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#linkedin"></use></svg></a></li>{%- endif -%}
|
12
|
+
{%- if social.pinterest -%}<li><a rel="me" href="https://www.pinterest.com/{{ social.pinterest | cgi_escape | escape }}" target="_blank" title="{{ social.pinterest | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#pinterest"></use></svg></a></li>{%- endif -%}
|
13
|
+
{%- for mst in social.mastodon -%}{%- if mst.username and mst.instance -%}<li><a rel="me" href="https://{{ mst.instance | cgi_escape | escape}}/@{{mst.username}}" target="_blank" title="{{ mst.username | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#mastodon"></use></svg></a></li>{%- endif -%}{%- endfor -%}
|
14
|
+
{%- if social.twitter -%}<li><a rel="me" href="https://twitter.com/{{ social.twitter | cgi_escape | escape }}" target="_blank" title="{{ social.twitter | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#twitter"></use></svg></a></li>{%- endif -%}
|
15
|
+
{%- if social.youtube -%}<li><a rel="me" href="https://www.youtube.com/{{ social.youtube | cgi_escape | escape }}" target="_blank" title="{{ social.youtube | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#youtube"></use></svg></a></li>{%- endif -%}
|
16
|
+
{%- if social.youtube_channel -%}<li><a rel="me" href="https://www.youtube.com/channel/{{ social.youtube_channel | cgi_escape | escape }}" target="_blank" title="{{ social.youtube_channel_name | escape | default: 'YouTube' }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#youtube"></use></svg></a></li>{%- endif -%}
|
17
|
+
{%- if social.telegram -%}<li><a rel="me" href="https://t.me/{{ social.telegram | cgi_escape | escape }}" target="_blank" title="{{ social.telegram | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#telegram"></use></svg></a></li>{%- endif -%}
|
18
|
+
{%- if social.keybase -%}<li><a rel="me" href="https://keybase.io/{{ social.keybase | cgi_escape | escape }}" target="_blank" title="{{ social.keybase | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#keybase"></use></svg></a></li>{%- endif -%}
|
19
|
+
{%- if social.microdotblog -%}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | cgi_escape | escape }}" target="_blank" title="{{ social.microdotblog | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#microdotblog"></use></svg></a></li>{%- endif -%}
|
20
|
+
{%- if social.devto -%}<li><a href="https://dev.to/{{ social.devto | cgi_escape | escape }}" target="_blank" title="{{ social.devto | escape }}"><svg class="svg-icon grey"><use xlink:href="assets/minima-social-icons.svg#devto"></use></svg></a></li>{%- endif -%}
|
21
21
|
</ul>
|
data/_layouts/home.html
CHANGED
@@ -27,7 +27,7 @@ layout: default
|
|
27
27
|
<li>
|
28
28
|
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
29
29
|
<h3>
|
30
|
-
<a class="post-link" href="{{ post.url
|
30
|
+
<a class="post-link" href="{{ post.url }}">
|
31
31
|
{{ post.title | escape }}
|
32
32
|
</a>
|
33
33
|
</h3>
|
@@ -42,13 +42,13 @@ layout: default
|
|
42
42
|
<div class="pager">
|
43
43
|
<ul class="pagination">
|
44
44
|
{%- if paginator.previous_page %}
|
45
|
-
<li><a href="{{ paginator.previous_page_path
|
45
|
+
<li><a href="{{ paginator.previous_page_path }}" class="previous-page">{{ paginator.previous_page }}</a></li>
|
46
46
|
{%- else %}
|
47
47
|
<li><div class="pager-edge">•</div></li>
|
48
48
|
{%- endif %}
|
49
49
|
<li><div class="current-page">{{ paginator.page }}</div></li>
|
50
50
|
{%- if paginator.next_page %}
|
51
|
-
<li><a href="{{ paginator.next_page_path
|
51
|
+
<li><a href="{{ paginator.next_page_path }}" class="next-page">{{ paginator.next_page }}</a></li>
|
52
52
|
{%- else %}
|
53
53
|
<li><div class="pager-edge">•</div></li>
|
54
54
|
{%- endif %}
|
data/_layouts/post.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
// Define defaults for each variable.
|
4
4
|
|
5
|
-
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Symbol", "Segoe UI Emoji", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
|
5
|
+
$base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Segoe UI Symbol", "Segoe UI Emoji", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
|
6
6
|
$code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
|
7
7
|
$base-font-size: 16px !default;
|
8
8
|
$base-font-weight: 400 !default;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sutty-minima
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -59,6 +59,20 @@ dependencies:
|
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '2.1'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: jekyll-relative-urls
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
type: :runtime
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
62
76
|
- !ruby/object:Gem::Dependency
|
63
77
|
name: bundler
|
64
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
139
|
- !ruby/object:Gem::Version
|
126
140
|
version: '0'
|
127
141
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.3.8
|
129
143
|
signing_key:
|
130
144
|
specification_version: 4
|
131
145
|
summary: A theme based on minima, a beautiful, minimal theme for Jekyll.
|