minima-reboot 1.0.23 → 1.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +12 -1
- data/_includes/head.html +2 -2
- data/_includes/header.html +1 -1
- data/_includes/icon-github.svg +1 -4
- data/_layouts/allposts.html +1 -1
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +4 -1
- data/_sass/minima-reboot/_layout.scss +6 -12
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 337802dc532c5f48f3388a3b384ed1180275ed0f72a8d2a93302eca3f204a804
|
4
|
+
data.tar.gz: afa429c847f48aa9de158822355ecc53445bccc02a93ce022b38cf51854e28c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6b61e331f9618e4c72bd30c64667ab03db4ff139037fa9c690a61b8a63da5cf20fd283937357ae4fc2b64ba96da46cafca5b3d472a6c5d92019632962e18e94
|
7
|
+
data.tar.gz: 6347923b1cb9b8003bcd56824c3e25f3f5e2f66698c1936164b5bf16a8534c5cf6a5cd2be6559aa9f948db30ded492958dd5421446c311f3ad203ea3f9c5a739
|
data/README.md
CHANGED
@@ -39,7 +39,7 @@ The following files are part of the `_layouts` directory.
|
|
39
39
|
|
40
40
|
The following files are part of the `_includes` directory.
|
41
41
|
|
42
|
-
- `disqus_comments.html`, `footer.html`, `google-analytics.html`, `head.html`, `header.html`, `icon-github
|
42
|
+
- `disqus_comments.html`, `footer.html`, `google-analytics.html`, `head.html`, `header.html`, `icon-github` — standard includes exactly as in [Minima](https://github.com/jekyll/minima).
|
43
43
|
- `head-includes.html` — an empty text file where the user may add additional lines that will be inserted into `<head>`. If you want to customize Minima Reboot and need to include additional style sheets, add them here.
|
44
44
|
|
45
45
|
### Sass
|
@@ -107,6 +107,17 @@ This will manually set the width of the date column in `posts.md`.
|
|
107
107
|
These are enabled exactly as in Minima.
|
108
108
|
|
109
109
|
|
110
|
+
### Compression
|
111
|
+
|
112
|
+
This theme uses HTML compression provided by [jekyll-compress-html](https://github.com/penibelst/jekyll-compress-html).
|
113
|
+
To disable this, override `default.html`, and remove the lines
|
114
|
+
```
|
115
|
+
---
|
116
|
+
layout: compress
|
117
|
+
---
|
118
|
+
```
|
119
|
+
from the file's front matter.
|
120
|
+
|
110
121
|
## License
|
111
122
|
|
112
123
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_includes/head.html
CHANGED
@@ -3,8 +3,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
5
|
|
6
|
-
<link rel="stylesheet" href="https://
|
7
|
-
|
6
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
|
7
|
+
|
8
8
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
9
9
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
10
10
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
data/_includes/header.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
{% if page_paths %}
|
8
8
|
<nav id="nav-menu-container" class="text-right navbar-light">
|
9
9
|
<input type="checkbox" id="nav-trigger" class="d-none"/>
|
10
|
-
<label for="nav-trigger"
|
10
|
+
<label for="nav-trigger" role="button" class="m-2 d-inline-block d-md-none navbar-toggler-icon">
|
11
11
|
</label>
|
12
12
|
|
13
13
|
<div id="nav-menu" class="d-none d-md-block">
|
data/_includes/icon-github.svg
CHANGED
@@ -1,4 +1 @@
|
|
1
|
-
<svg viewBox="0 0 16 16" width="
|
2
|
-
<title>GitHub</title>
|
3
|
-
<path fill="currentColor" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
|
4
|
-
</svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><title>GitHub</title><path fill="currentColor" d="M8 .43C3.714.43.24 3.905.24 8.192c0 3.428 2.223 6.337 5.307 7.363.388.07.53-.168.53-.374l-.01-1.32c-2.16.47-2.614-1.04-2.614-1.04-.353-.896-.862-1.135-.862-1.135-.705-.48.053-.472.053-.472.78.055 1.19.8 1.19.8.692 1.186 1.816.843 2.258.645.07-.502.27-.843.493-1.037-1.723-.197-3.534-.862-3.534-3.836 0-.847.302-1.54.8-2.082-.08-.197-.347-.986.076-2.054 0 0 .652-.21 2.134.796A7.39 7.39 0 0 1 8 4.184a7.45 7.45 0 0 1 1.943.261c1.482-1.004 2.132-.796 2.132-.796.423 1.068.157 1.857.077 2.054.497.542.798 1.235.798 2.082 0 2.98-1.814 3.637-3.543 3.83.28.24.527.713.527 1.437l-.01 2.13c0 .208.14.45.534.373 3.08-1.028 5.302-3.935 5.302-7.362C15.76 3.906 12.285.43 8 .43z"/></svg>
|
data/_layouts/allposts.html
CHANGED
@@ -21,7 +21,7 @@ layout: page
|
|
21
21
|
<tr>
|
22
22
|
<td class="text-right align-top text-truncate"><time class="text-secondary" datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date: date_format }}</time></td>
|
23
23
|
<td class="text-center align-top px-1">|</td>
|
24
|
-
<td class="text-left align-top"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></td>
|
24
|
+
<td class="text-left align-top"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title | escape }}</a></td>
|
25
25
|
</tr>
|
26
26
|
|
27
27
|
{% if forloop.last %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.0.4
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
---
|
2
|
+
layout: compress
|
3
|
+
---
|
1
4
|
<!DOCTYPE html>
|
2
5
|
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
6
|
|
@@ -8,7 +11,7 @@
|
|
8
11
|
{% include header.html %}
|
9
12
|
|
10
13
|
<main aria-label="Content">
|
11
|
-
<div class="container">
|
14
|
+
<div id="content-container" class="container">
|
12
15
|
{{ content }}
|
13
16
|
</div>
|
14
17
|
</main>
|
@@ -28,12 +28,6 @@ body {
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
|
31
|
-
#nav-trigger-label {
|
32
|
-
height: 1.5rem;
|
33
|
-
width: 1.5rem;
|
34
|
-
cursor: pointer;
|
35
|
-
}
|
36
|
-
|
37
31
|
#nav-trigger:checked ~ #nav-menu {
|
38
32
|
display: block !important;
|
39
33
|
}
|
@@ -52,12 +46,12 @@ body {
|
|
52
46
|
.footnotes {
|
53
47
|
text-align: left;
|
54
48
|
}
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
49
|
+
}
|
50
|
+
|
51
|
+
#rss-icon {
|
52
|
+
height: 1.5rem;
|
53
|
+
width: 1.5rem;
|
54
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgb(134, 142, 150)' d='M119.9,336.1c-30.8,0-55.9,25.1-55.9,55.8c0,30.8,25.1,55.6,55.9,55.6c30.9,0,55.9-24.9,55.9-55.6,C175.8,361.2,150.8,336.1,119.9,336.1z'/%3E%3Cpath fill='rgb(134, 142, 150)' d='M64,192v79.9c48,0,94.1,14.2,128,48.1c33.9,33.9,48,79.9,48,128h80C320,308.1,204,192,64,192z'/%3E%3Cpath fill='rgb(134, 142, 150)' d='M64,64v79.9c171,0,303.9,133,303.9,304.1H448C448,236.3,276,64,64,64z'/%3E%3C/svg%3E")
|
61
55
|
}
|
62
56
|
|
63
57
|
#site-footer {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minima-reboot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Terenin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- _includes/header.html
|
112
112
|
- _includes/icon-github.svg
|
113
113
|
- _layouts/allposts.html
|
114
|
+
- _layouts/compress.html
|
114
115
|
- _layouts/default.html
|
115
116
|
- _layouts/home.html
|
116
117
|
- _layouts/page.html
|
@@ -139,8 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
140
|
- !ruby/object:Gem::Version
|
140
141
|
version: '0'
|
141
142
|
requirements: []
|
142
|
-
|
143
|
-
rubygems_version: 2.5.2
|
143
|
+
rubygems_version: 3.0.3
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: A Bootstrap port of Minima, Jekyll's default theme.
|