type-on-strap 2.1.2 → 2.2.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/_includes/aligner.html +6 -2
- data/_includes/disqus.html +12 -10
- data/_includes/head.html +1 -5
- data/_layouts/custom.html +21 -24
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +6 -6
- data/_layouts/page.html +6 -7
- data/_layouts/post.html +11 -15
- data/_sass/base/_global.scss +2 -0
- data/_sass/base/_variables.scss +4 -1
- data/_sass/layouts/_page.scss +16 -3
- data/_sass/layouts/_posts.scss +5 -1
- metadata +4 -5
- data/_includes/share_thumbnail.html +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96498e8bc639617b5a89ca28b272159ac6bbe0181cf06e4940a8d3e484ab3e9c
|
4
|
+
data.tar.gz: 1963b426197beb23d966e2e8de61abd2288b344d764cde9ece68636e8dddc68c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09b6df42042eac5648af2d3606fe05dbf1cd811753e7a932ab62de701f999729f7dad969c99a1ca910ff490221648bba03706942395f3d439958d83080d99fd2'
|
7
|
+
data.tar.gz: db5215c5227cec136a7b9191040f2fbf06f550499804d03d99ef33b0d736aebbe906523fedaa18bff7f64c7aa26210e3c373448941247c6f7239e8ea7a961b6e
|
data/_includes/aligner.html
CHANGED
@@ -8,8 +8,12 @@
|
|
8
8
|
|
9
9
|
<div class="row">
|
10
10
|
{% for image in images %}
|
11
|
-
<div {%
|
12
|
-
<img
|
11
|
+
<div {% if column %} style="flex: {{ column }}%" {% else %} class="column" {% endif %} >
|
12
|
+
<img {% if images.size == 1 %}class="single"{% endif %}
|
13
|
+
src="{{ image | prepend: 'assets/img/' | relative_url }}"
|
14
|
+
alt="{{ image | prepend: '/' | split: '/' | last }}">
|
13
15
|
</div>
|
14
16
|
{% endfor %}
|
15
17
|
</div>
|
18
|
+
|
19
|
+
{% assign column = false %}
|
data/_includes/disqus.html
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
<div
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
<div class="comments">
|
2
|
+
<div id="disqus_thread"></div>
|
3
|
+
<script type="text/javascript">
|
4
|
+
var disqus_shortname = '{{ site.disqus_shortname }}';
|
5
|
+
(function() {
|
6
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
7
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
8
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
9
|
+
})();
|
10
|
+
</script>
|
11
|
+
<noscript>{{ site.data.language.str_javascript_required_disqus | default: Please enable JavaScript to view comments." }}</noscript>
|
12
|
+
</div>
|
data/_includes/head.html
CHANGED
@@ -58,9 +58,5 @@
|
|
58
58
|
|
59
59
|
<!-- seo tags -->
|
60
60
|
{% seo %}
|
61
|
-
|
62
|
-
<!--
|
63
|
-
<title>{% if page.title %}{{ page.title }} |{% endif %} {{ site.title }}</title>
|
64
|
-
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
65
|
-
-->
|
61
|
+
<meta property="og:image" content="{{ '/' | absolute_url }}{% if page.thumbnail %}page.thumbnail{% else %}{{ page.feature-img | default: site.header_feature_image }}{% endif %} " />
|
66
62
|
</head>
|
data/_layouts/custom.html
CHANGED
@@ -1,35 +1,32 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
4
|
+
|
5
|
+
<article {% if page.feature-img %}class="feature-image" {% endif %} style="padding:0;">
|
6
|
+
<header id="main" style="background-image: url('{{ page.feature-img | relative_url }}')">
|
7
|
+
<h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
|
8
|
+
{% if include.is_post %}
|
9
|
+
{% include post_info.html author=page.author date=page.date %}
|
10
|
+
{% else %}
|
11
|
+
</header>
|
12
|
+
<section class="post-content">{{ content }}</section>
|
13
|
+
|
14
|
+
<div style="display: inline-block;">
|
15
|
+
<!-- Social media shares -->
|
16
|
+
{% if include.is_post %} {% include share_buttons.html %} {% endif %}
|
17
|
+
|
18
|
+
<!-- Tag list -->
|
19
|
+
{% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
|
20
|
+
{% include tags_list.html tags=tag_list %}
|
21
21
|
</div>
|
22
|
-
|
22
|
+
|
23
23
|
</article>
|
24
24
|
|
25
25
|
<!-- Disqus -->
|
26
|
-
{% if site.disqus_shortname %}
|
27
|
-
|
28
|
-
{% include disqus.html %}
|
29
|
-
</div>
|
30
|
-
{% endif %}
|
26
|
+
{% if site.disqus_shortname or site.theme_settings.disqus_shortname %}
|
27
|
+
{% include disqus.html %}{% endif %}
|
31
28
|
|
32
29
|
<!-- Post navigation -->
|
33
30
|
{% if site.post_navigation %}
|
34
|
-
|
31
|
+
{% include post_nav.html %}
|
35
32
|
{% endif %}
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -4,11 +4,11 @@ layout: default
|
|
4
4
|
|
5
5
|
<div class="home">
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
<div id="main" class="call-out"
|
8
|
+
style="background-image: url('{{ site.header_feature_image | relative_url }}')">
|
9
|
+
<h1> {{ site.header_text | default: "Change <code>header_text</code> in <code>_config.yml</code>"}} </h1>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
{% include blog.html %}
|
11
13
|
|
12
|
-
{% include blog.html %}
|
13
|
-
|
14
14
|
</div>
|
data/_layouts/page.html
CHANGED
@@ -1,19 +1,18 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
{% include share_thumbnail.html page=page %}
|
5
4
|
|
6
5
|
<article {% if page.feature-img %}class="feature-image"{% endif %}>
|
6
|
+
|
7
7
|
<header id="main" style="background-image: url('{{ page.feature-img | relative_url }}')">
|
8
8
|
<h1 id="{{ page.title | default: "" | cgi_escape }}" class="title">
|
9
|
-
|
9
|
+
{{ page.title }}
|
10
10
|
</h1>
|
11
|
-
|
12
11
|
{% if page.subtitle %}
|
13
12
|
<h2 class="subtitle">{{ page.subtitle }}</h2>
|
14
13
|
{% endif %}
|
15
|
-
|
16
14
|
</header>
|
15
|
+
|
17
16
|
<section class="post-content">
|
18
17
|
{% if page.bootstrap %}
|
19
18
|
<div class="bootstrap-iso">
|
@@ -23,10 +22,10 @@ layout: default
|
|
23
22
|
</div>
|
24
23
|
{% endif %}
|
25
24
|
</section>
|
26
|
-
|
27
|
-
|
25
|
+
|
26
|
+
|
28
27
|
<!-- Tag list for portfolio -->
|
29
28
|
{% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
|
30
29
|
{% include tags_list.html tags=tag_list %}
|
31
|
-
|
30
|
+
|
32
31
|
</article>
|
data/_layouts/post.html
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
{% include share_thumbnail.html page=page %}
|
5
|
-
|
6
4
|
<article {% if page.feature-img or page.color %}class="feature-image"{% endif %}>
|
7
5
|
<header id="main" style="">
|
8
6
|
{% unless page.hide_title %}
|
9
|
-
|
10
|
-
|
7
|
+
<h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
|
8
|
+
{% include post_info.html author=page.author date=page.date %}
|
11
9
|
{% endunless %}
|
12
10
|
</header>
|
11
|
+
|
13
12
|
<section class="post-content">
|
14
13
|
{% if page.bootstrap %}
|
15
14
|
<div class="bootstrap-iso">
|
@@ -31,10 +30,7 @@ layout: default
|
|
31
30
|
|
32
31
|
<!-- Disqus -->
|
33
32
|
{% if site.disqus_shortname or site.theme_settings.disqus_shortname %}
|
34
|
-
|
35
|
-
{% include disqus.html %}
|
36
|
-
</div>
|
37
|
-
{% endif %}
|
33
|
+
{% include disqus.html %}{% endif %}
|
38
34
|
|
39
35
|
<!-- Post navigation -->
|
40
36
|
{% if site.post_navigation or site.theme_settings.post_navigation %}
|
@@ -44,16 +40,16 @@ layout: default
|
|
44
40
|
<!-- To change color of links in the page -->
|
45
41
|
<style>
|
46
42
|
{% if page.color %}
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
43
|
+
.feature-image a { color: {{ page.color }} !important; }
|
44
|
+
div#post-nav a { color: {{ page.color }} !important; }
|
45
|
+
footer a { color: {{ page.color }} !important; }
|
46
|
+
.site-header nav a:hover { color: {{ page.color }} !important; }
|
47
|
+
header#main { background-color: {{ page.color }} !important; }
|
52
48
|
{% endif %}
|
53
49
|
|
54
50
|
header#main {
|
55
51
|
background-repeat:no-repeat;
|
56
|
-
|
57
|
-
|
52
|
+
{% if page.feature-img %} background-image: url('{{ page.feature-img | relative_url }}');
|
53
|
+
{% elsif page.color %}background-image: url('{{ site.color_image | relative_url }}'); {% endif %}
|
58
54
|
}
|
59
55
|
</style>
|
data/_sass/base/_global.scss
CHANGED
data/_sass/base/_variables.scss
CHANGED
data/_sass/layouts/_page.scss
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
+
.title-padder {
|
2
|
+
padding: $title-padding;
|
3
|
+
}
|
4
|
+
|
1
5
|
h1.title {
|
2
6
|
@extend .header-txt-shadow;
|
3
|
-
padding:
|
7
|
+
padding: 0.5em 0;
|
4
8
|
}
|
5
9
|
|
6
10
|
.subtitle {
|
@@ -9,6 +13,12 @@ h1.title {
|
|
9
13
|
text-shadow: 1px 1px 2px $text-shadow;
|
10
14
|
}
|
11
15
|
|
16
|
+
//Shared css in _post.scss
|
17
|
+
|
18
|
+
|
19
|
+
/* --- Aligner --- */
|
20
|
+
/* within page/posts */
|
21
|
+
|
12
22
|
.row {
|
13
23
|
display: flex;
|
14
24
|
flex-wrap: wrap;
|
@@ -21,6 +31,9 @@ h1.title {
|
|
21
31
|
width: 100%;
|
22
32
|
min-width: 250px;
|
23
33
|
}
|
24
|
-
}
|
25
34
|
|
26
|
-
|
35
|
+
.single {
|
36
|
+
width: 50%;
|
37
|
+
display: block;
|
38
|
+
}
|
39
|
+
}
|
data/_sass/layouts/_posts.scss
CHANGED
@@ -72,7 +72,7 @@ header {
|
|
72
72
|
|
73
73
|
img {
|
74
74
|
border-radius: 1em;
|
75
|
-
padding:
|
75
|
+
padding: 0;
|
76
76
|
width: 1.5em;
|
77
77
|
height: 100%;
|
78
78
|
margin-right: 0.5em;
|
@@ -106,6 +106,10 @@ header {
|
|
106
106
|
@extend %padding-post;
|
107
107
|
padding-top: 0;
|
108
108
|
}
|
109
|
+
|
110
|
+
.feature-image-padding {
|
111
|
+
padding: $feature-image-padding;
|
112
|
+
}
|
109
113
|
}
|
110
114
|
|
111
115
|
/*-- feature-image Responsive scrolling --*/
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: type-on-strap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylhare
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-05-
|
12
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -17,7 +17,7 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '3.
|
20
|
+
version: '3.8'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '5.0'
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '3.
|
30
|
+
version: '3.8'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '5.0'
|
@@ -100,7 +100,6 @@ files:
|
|
100
100
|
- _includes/post_info.html
|
101
101
|
- _includes/post_nav.html
|
102
102
|
- _includes/share_buttons.html
|
103
|
-
- _includes/share_thumbnail.html
|
104
103
|
- _includes/tags_list.html
|
105
104
|
- _layouts/custom.html
|
106
105
|
- _layouts/default.html
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{% assign page = include.page %}
|
2
|
-
|
3
|
-
<meta property="og:url" content="{{ page.url }}" />
|
4
|
-
<meta property="og:type" content="article" />
|
5
|
-
<meta property="og:title" content="{{ page.title | strip_html | truncate: '250' | escape }}" />
|
6
|
-
<meta property="og:description" content="{{ page.excerpt | strip_html | truncate: '250' | escape }}" />
|
7
|
-
<meta property="og:image" content="{{ page.feature-img | default: site.header_feature_image }}" />
|