minima-reboot 1.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +19 -0
- data/README.md +112 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +41 -0
- data/_includes/google-analytics.html +10 -0
- data/_includes/head-includes.html +0 -0
- data/_includes/head.html +23 -0
- data/_includes/header.html +24 -0
- data/_includes/icon-github.svg +4 -0
- data/_layouts/allposts.html +39 -0
- data/_layouts/default.html +20 -0
- data/_layouts/home.html +52 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +33 -0
- data/_sass/minima-reboot.scss +6 -0
- data/_sass/minima-reboot/_layout.scss +74 -0
- data/_sass/minima-reboot/_syntax-highlighting.scss +61 -0
- data/assets/main.scss +5 -0
- metadata +147 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ea731562db5ac9d14745f48a372229ecb31314dd
|
4
|
+
data.tar.gz: ebd6c78a128a02da9eae390d7d6041beb5d31346
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a73aab10ae056286318fd79e4901da17f92c8aa4030a17b6278a4382a0a5fb9591e8ef0df6eb914aa03148685230486a7bd4e265ea6dee1a043d53a962732ea8
|
7
|
+
data.tar.gz: 6829a4f32a81a3a59477360fac435b179b88e6a64b2578b933c71868288e5a00debcd27b1afd5556286234262a9831a45a9ee7fb2283426e0e27cd8590e7b288
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
# minima-reboot
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/minima-reboot.svg)](https://badge.fury.io/rb/minima-reboot)
|
4
|
+
|
5
|
+
Minima Reboot is a responsive [Bootstrap](https://getbootstrap.com/) port of Jekyll's default theme, [Minima](https://github.com/jekyll/minima). It tries to be style-light, following Bootstrap as much as possible. It uses `bootstrap.css` only, and does not load `bootstrap.js`.
|
6
|
+
|
7
|
+
|
8
|
+
[Theme preview](https://aterenin.github.io/minima-reboot/)
|
9
|
+
|
10
|
+
![minima theme preview](https://raw.githubusercontent.com/aterenin/minima-reboot/master/screenshot.png)
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Add this line to your site's `_config.yml`
|
15
|
+
|
16
|
+
```yaml
|
17
|
+
remote_theme: aterenin/minima-reboot
|
18
|
+
```
|
19
|
+
|
20
|
+
Jekyll will automatically download and enable the theme, provided it is up to date.
|
21
|
+
|
22
|
+
Alternatively, Minima Reboot is a [gem-based theme](https://jekyllrb.com/docs/themes/) and can be installed from [rubygems.org](https://rubygems.org/gems/minima-reboot).
|
23
|
+
|
24
|
+
|
25
|
+
## Files
|
26
|
+
|
27
|
+
Minima Reboot is written in the same way as Minima, using Jekyll's standard directories.
|
28
|
+
These are described below, together with differences and new features.
|
29
|
+
|
30
|
+
### Layouts
|
31
|
+
|
32
|
+
The following files are part of the `_layouts` directory.
|
33
|
+
|
34
|
+
- `default.html`, `page.html`, `post.html` — standard layout files exactly as in Minima.
|
35
|
+
- `home.html` — a home page layout, which supports Jekyll's [pagination](https://jekyllrb.com/docs/pagination/). This can be enabled by setting `paginate` in `_config.yml`.
|
36
|
+
- `allposts.html` — this is a layout which displays a full list of posts by year.
|
37
|
+
|
38
|
+
### Includes
|
39
|
+
|
40
|
+
The following files are part of the `_includes` directory.
|
41
|
+
|
42
|
+
- `disqus_comments.html`, `footer.html`, `google-analytics.html`, `head.html`, `header.html`, `icon-github`, `icon-twitter` — standard includes exactly as in [Minima](https://github.com/jekyll/minima).
|
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
|
+
|
45
|
+
### Sass
|
46
|
+
|
47
|
+
The following files are part of the `_sass` directory.
|
48
|
+
|
49
|
+
- `minima-reboot.scss` — loads the required style sheets.
|
50
|
+
- `minima-reboot/_layout.scss` — contains a few layout tweaks on top of Bootstrap's Reboot style, as well as an inline SVG for the RSS icon, and the responsive navigation menu, for which Minima Reboot uses its own implementation in `header.html` and this file to avoid loading JavaScript.
|
51
|
+
- `minima-reboot/_syntax-highlighting.scss` — defines the colors used by Jekyll's syntax highlighting.
|
52
|
+
|
53
|
+
### Assets
|
54
|
+
|
55
|
+
Contains the `main.scss` file which loads the style files by importing `minima-reboot.scss`.
|
56
|
+
|
57
|
+
|
58
|
+
## Usage
|
59
|
+
|
60
|
+
Minima Reboot can be customized just like Minima.
|
61
|
+
To override the style files, add whatever SCSS you like to `main.scss` in your site's source.
|
62
|
+
This can also be used to override any other file as necessary.
|
63
|
+
|
64
|
+
### Loading Scripts
|
65
|
+
|
66
|
+
To load an additional script, for example when using [KaTeX](https://github.com/khan/katex/) to typeset mathematical equations on a page, just add the `<script>` to `_includes/head-includes.html` and they will be added to `<head>`.
|
67
|
+
|
68
|
+
### Change default date format
|
69
|
+
|
70
|
+
The date format can be modified in Minima Reboot as follows in `_config.yml`.
|
71
|
+
|
72
|
+
```yaml
|
73
|
+
minima_reboot:
|
74
|
+
date_format: "%b %-d, %Y"
|
75
|
+
date_format_short: "%b %-d"
|
76
|
+
```
|
77
|
+
|
78
|
+
The format is specified exactly as in [Liquid templates](https://shopify.github.io/liquid/filters/date/).
|
79
|
+
|
80
|
+
### Adding new links to footer
|
81
|
+
|
82
|
+
New links with icons, such as the GitHub link in the preview, can be added to the footer as follows.
|
83
|
+
|
84
|
+
```yaml
|
85
|
+
footer_icons:
|
86
|
+
- username: aterenin/minima-reboot/
|
87
|
+
url: https://github.com/aterenin/minima-reboot/
|
88
|
+
icon: icon-github.svg
|
89
|
+
```
|
90
|
+
|
91
|
+
The `username` and `url` parameters are mandatory, the `icon` parameter is optional.
|
92
|
+
This functionality supersedes Minima's `github_username` and `twitter_username`.
|
93
|
+
|
94
|
+
### Adding inline styles and scripts
|
95
|
+
|
96
|
+
The front matter `head_inline` allows styles and scripts to be inlined to `<head>`.
|
97
|
+
For example, consider adding the following to `posts.md`.
|
98
|
+
|
99
|
+
```yaml
|
100
|
+
head_inline: "<style>td:first-child { width: 7rem; }</style>"
|
101
|
+
```
|
102
|
+
|
103
|
+
This will manually set the width of the date column in `posts.md`.
|
104
|
+
|
105
|
+
### Disqus Comments and Google Analytics
|
106
|
+
|
107
|
+
These are enabled exactly as in Minima.
|
108
|
+
|
109
|
+
|
110
|
+
## License
|
111
|
+
|
112
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{% if page.comments != false and jekyll.environment == "production" %}
|
2
|
+
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<script>
|
5
|
+
var disqus_config = function () {
|
6
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
7
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
8
|
+
};
|
9
|
+
|
10
|
+
(function() {
|
11
|
+
var d = document, s = d.createElement('script');
|
12
|
+
|
13
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
14
|
+
|
15
|
+
s.setAttribute('data-timestamp', +new Date());
|
16
|
+
(d.head || d.body).appendChild(s);
|
17
|
+
})();
|
18
|
+
</script>
|
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 %}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<footer id="site-footer">
|
2
|
+
<div class="container">
|
3
|
+
<div class="h5 pt-4">{{ site.title | escape }}</div>
|
4
|
+
|
5
|
+
<div class="row">
|
6
|
+
<div class="col col-lg-3">
|
7
|
+
<ul class="list-unstyled">
|
8
|
+
<li class="text-secondary">
|
9
|
+
{% if site.author %}
|
10
|
+
{{ site.author | escape }}
|
11
|
+
{% else %}
|
12
|
+
{{ site.title | escape }}
|
13
|
+
{% endif %}
|
14
|
+
</li>
|
15
|
+
{% if site.email %}
|
16
|
+
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
17
|
+
{% endif %}
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
{% if site.footer_icons %}
|
21
|
+
<div class="col-6 col-lg-3">
|
22
|
+
<ul class="list-unstyled">
|
23
|
+
{% for footer_icon in site.footer_icons %}
|
24
|
+
<li>
|
25
|
+
<a href="{{ footer_icon.url }}">
|
26
|
+
{% if footer_icon.icon %}
|
27
|
+
{% capture icon %}{% include {{footer_icon.icon}} %}{% endcapture %}
|
28
|
+
<span class="align-middle text-secondary pr-2">{{ icon | strip }}</span>{% endif %}<span>{{ footer_icon.username }}</span>
|
29
|
+
</a>
|
30
|
+
</li>
|
31
|
+
{% endfor %}
|
32
|
+
</ul>
|
33
|
+
</div>
|
34
|
+
{% endif %}
|
35
|
+
<div class="col-12 col-lg">
|
36
|
+
<p class="text-secondary text-justify">{{ site.description | escape }}</p>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
</div>
|
41
|
+
</footer>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<script>
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
+
|
7
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
8
|
+
ga('send', 'pageview');
|
9
|
+
|
10
|
+
</script>
|
File without changes
|
data/_includes/head.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
|
6
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
|
7
|
+
|
8
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
9
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
10
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
11
|
+
|
12
|
+
{% if page.head_inline %}
|
13
|
+
{{ page.head_inline }}
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% if jekyll.environment == 'production' and site.google_analytics %}
|
17
|
+
{% include google-analytics.html %}
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% seo %}
|
21
|
+
|
22
|
+
{% include head-includes.html %}
|
23
|
+
</head>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<header id="nav-header" class="border-dark border-left-0 border-right-0">
|
2
|
+
<div id="nav-container" class="container position-relative d-flex justify-content-between align-items-center">
|
3
|
+
{% assign default_paths = site.pages | map: "path" %}
|
4
|
+
{% assign page_paths = site.header_pages | default: default_paths %}
|
5
|
+
<a class="h4 m-0 text-dark" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
6
|
+
|
7
|
+
{% if page_paths %}
|
8
|
+
<nav id="nav-menu-container" class="text-right navbar-light">
|
9
|
+
<input type="checkbox" id="nav-trigger" class="d-none"/>
|
10
|
+
<label for="nav-trigger" id="nav-trigger-label" class="m-2 d-inline-block d-md-none navbar-toggler-icon">
|
11
|
+
</label>
|
12
|
+
|
13
|
+
<div id="nav-menu" class="d-none d-md-block">
|
14
|
+
{% for path in page_paths %}
|
15
|
+
{% assign my_page = site.pages | where: "path", path | first %}
|
16
|
+
{% if my_page.title %}
|
17
|
+
<a class="text-dark ml-3 ml-md-0 p-2 d-block d-md-inline-block" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
18
|
+
{% endif %}
|
19
|
+
{% endfor %}
|
20
|
+
</div>
|
21
|
+
</nav>
|
22
|
+
{% endif %}
|
23
|
+
</div>
|
24
|
+
</header>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg viewBox="0 0 16 16" width="16px" height="16px" xmlns="http://www.w3.org/2000/svg">
|
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>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
{% for post in site.posts %}
|
8
|
+
|
9
|
+
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
10
|
+
|
11
|
+
{% if forloop.first %}
|
12
|
+
<h2 class="mt-0 h4">{{ year }}</h2>
|
13
|
+
<table class="ml-4">
|
14
|
+
{% elsif year != prev_year %}
|
15
|
+
</table>
|
16
|
+
<h2 class="h4">{{ year }}</h2>
|
17
|
+
<table class="ml-4">
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% assign date_format = site.minima_reboot.date_format_short | default: "%b %-d" %}
|
21
|
+
<tr>
|
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
|
+
<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>
|
25
|
+
</tr>
|
26
|
+
|
27
|
+
{% if forloop.last %}
|
28
|
+
</table>
|
29
|
+
{% endif %}
|
30
|
+
|
31
|
+
{% capture prev_year %}{{ year }}{% endcapture %}
|
32
|
+
|
33
|
+
{% endfor %}
|
34
|
+
|
35
|
+
<div class="pt-3"></div>
|
36
|
+
|
37
|
+
{% if site.plugins contains "jekyll-feed" %}
|
38
|
+
<a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
|
39
|
+
{% endif %}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{% include header.html %}
|
9
|
+
|
10
|
+
<main aria-label="Content">
|
11
|
+
<div class="container">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{% include footer.html %}
|
17
|
+
|
18
|
+
</body>
|
19
|
+
|
20
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<header class="pt-3 mb-3">
|
6
|
+
{{ content }}
|
7
|
+
</header>
|
8
|
+
|
9
|
+
<div id="content">
|
10
|
+
|
11
|
+
{% if site.paginate %}
|
12
|
+
{% assign posts = paginator.posts %}
|
13
|
+
{% else %}
|
14
|
+
{% assign posts = site.posts %}
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<ul class="list-unstyled m-0">
|
18
|
+
{% assign date_format = site.minima_reboot.date_format | default: "%b %-d, %Y" %}
|
19
|
+
{% for post in posts %}
|
20
|
+
<li class="py-2">
|
21
|
+
<span class="text-secondary">{{ post.date | date: date_format }}</span>
|
22
|
+
|
23
|
+
<h1 class="mt-1 mb-3 h3">
|
24
|
+
<a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
25
|
+
</h1>
|
26
|
+
|
27
|
+
<div class="text-justify">
|
28
|
+
{{ post.excerpt }}
|
29
|
+
</div>
|
30
|
+
</li>
|
31
|
+
{% endfor %}
|
32
|
+
</ul>
|
33
|
+
|
34
|
+
{% if site.paginate %}
|
35
|
+
<nav class="py-1" aria-label="Blog page navigation">
|
36
|
+
{% if paginator.previous_page %}
|
37
|
+
<a href="{{ paginator.previous_page_path | relative_url }}">« Previous</a>
|
38
|
+
{% endif %}
|
39
|
+
|
40
|
+
Page: {{ paginator.page }} of {{ paginator.total_pages }}
|
41
|
+
|
42
|
+
{% if paginator.next_page %}
|
43
|
+
<a href="{{ paginator.next_page_path | relative_url }}">Next »</a>
|
44
|
+
{% endif %}
|
45
|
+
</nav>
|
46
|
+
{% endif %}
|
47
|
+
|
48
|
+
{% if site.plugins contains "jekyll-feed" %}
|
49
|
+
<a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
|
50
|
+
{% endif %}
|
51
|
+
|
52
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
<header class="pt-4 pb-3">
|
7
|
+
<h1 itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<p class="text-secondary">
|
9
|
+
{% if page.author %}
|
10
|
+
{% if page.author_url %}
|
11
|
+
<a href="{{ page.author_url }}">
|
12
|
+
{% endif %}
|
13
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
|
14
|
+
{% if page.author_url %}
|
15
|
+
</a>
|
16
|
+
{% endif %}
|
17
|
+
•
|
18
|
+
{% endif %}
|
19
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
20
|
+
{% assign date_format = site.minima_reboot.date_format | default: "%b %-d, %Y" %}
|
21
|
+
{{ page.date | date: date_format }}
|
22
|
+
</time>
|
23
|
+
</p>
|
24
|
+
</header>
|
25
|
+
|
26
|
+
<div class="text-justify" itemprop="articleBody" id="content">
|
27
|
+
{{ content }}
|
28
|
+
</div>
|
29
|
+
|
30
|
+
{% if site.disqus.shortname %}
|
31
|
+
{% include disqus_comments.html %}
|
32
|
+
{% endif %}
|
33
|
+
</article>
|
@@ -0,0 +1,74 @@
|
|
1
|
+
$layout-color-border: #e9ecef !default;
|
2
|
+
$layout-color-background: #fdfdfd !default;
|
3
|
+
$layout-color-syntax-highlighting-background: #f8f9fa !default;
|
4
|
+
$layout-responsive-nav-cutoff: 768px !default;
|
5
|
+
|
6
|
+
body {
|
7
|
+
background-color: $layout-color-background;
|
8
|
+
}
|
9
|
+
|
10
|
+
#nav-header {
|
11
|
+
border-top: 5px solid !important;
|
12
|
+
border-bottom: 1px solid $layout-color-border !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
#nav-container {
|
16
|
+
height: 3.5rem;
|
17
|
+
}
|
18
|
+
|
19
|
+
#nav-menu-container {
|
20
|
+
@media (max-width: $layout-responsive-nav-cutoff - 1) {
|
21
|
+
position: absolute;
|
22
|
+
z-index: 100;
|
23
|
+
top: 0.4375rem;
|
24
|
+
right: 1rem;
|
25
|
+
border: 1px solid $layout-color-border;
|
26
|
+
border-radius: .25rem;
|
27
|
+
background-color: $layout-color-background;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
#nav-trigger-label {
|
32
|
+
height: 1.5rem;
|
33
|
+
width: 1.5rem;
|
34
|
+
cursor: pointer;
|
35
|
+
}
|
36
|
+
|
37
|
+
#nav-trigger:checked ~ #nav-menu {
|
38
|
+
display: block !important;
|
39
|
+
}
|
40
|
+
|
41
|
+
#content {
|
42
|
+
h1, h2, h3, h4 {
|
43
|
+
margin-top: 2rem;
|
44
|
+
margin-bottom: 1rem;
|
45
|
+
text-align: left;
|
46
|
+
}
|
47
|
+
blockquote {
|
48
|
+
border-left: 4px solid $layout-color-border;
|
49
|
+
padding-left: 1rem;
|
50
|
+
font-style: italic
|
51
|
+
}
|
52
|
+
.footnotes {
|
53
|
+
text-align: left;
|
54
|
+
}
|
55
|
+
#rss-icon {
|
56
|
+
height: 1.5rem;
|
57
|
+
width: 1.5rem;
|
58
|
+
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
|
59
|
+
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")
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
#site-footer {
|
64
|
+
border-top: 1px solid $layout-color-border;
|
65
|
+
}
|
66
|
+
|
67
|
+
.highlight pre {
|
68
|
+
border: 1px solid $layout-color-border;
|
69
|
+
border-radius: .25rem;
|
70
|
+
background-color: $layout-color-syntax-highlighting-background;
|
71
|
+
padding: 0.75rem;
|
72
|
+
margin-bottom: 1rem;
|
73
|
+
white-space: pre-wrap;
|
74
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
.highlight {
|
2
|
+
.c { color: #998; font-style: italic } // Comment
|
3
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
4
|
+
.k { font-weight: bold } // Keyword
|
5
|
+
.o { font-weight: bold } // Operator
|
6
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
7
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
8
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
9
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
10
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
11
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
12
|
+
.ge { font-style: italic } // Generic.Emph
|
13
|
+
.gr { color: #a00 } // Generic.Error
|
14
|
+
.gh { color: #999 } // Generic.Heading
|
15
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
16
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
17
|
+
.go { color: #888 } // Generic.Output
|
18
|
+
.gp { color: #555 } // Generic.Prompt
|
19
|
+
.gs { font-weight: bold } // Generic.Strong
|
20
|
+
.gu { color: #aaa } // Generic.Subheading
|
21
|
+
.gt { color: #a00 } // Generic.Traceback
|
22
|
+
.kc { font-weight: bold } // Keyword.Constant
|
23
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
24
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
25
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
26
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
27
|
+
.m { color: #099 } // Literal.Number
|
28
|
+
.s { color: #d14 } // Literal.String
|
29
|
+
.na { color: #008080 } // Name.Attribute
|
30
|
+
.nb { color: #0086B3 } // Name.Builtin
|
31
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
32
|
+
.no { color: #008080 } // Name.Constant
|
33
|
+
.ni { color: #800080 } // Name.Entity
|
34
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
35
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
36
|
+
.nn { color: #555 } // Name.Namespace
|
37
|
+
.nt { color: #000080 } // Name.Tag
|
38
|
+
.nv { color: #008080 } // Name.Variable
|
39
|
+
.ow { font-weight: bold } // Operator.Word
|
40
|
+
.w { color: #bbb } // Text.Whitespace
|
41
|
+
.mf { color: #099 } // Literal.Number.Float
|
42
|
+
.mh { color: #099 } // Literal.Number.Hex
|
43
|
+
.mi { color: #099 } // Literal.Number.Integer
|
44
|
+
.mo { color: #099 } // Literal.Number.Oct
|
45
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
46
|
+
.sc { color: #d14 } // Literal.String.Char
|
47
|
+
.sd { color: #d14 } // Literal.String.Doc
|
48
|
+
.s2 { color: #d14 } // Literal.String.Double
|
49
|
+
.se { color: #d14 } // Literal.String.Escape
|
50
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
51
|
+
.si { color: #d14 } // Literal.String.Interpol
|
52
|
+
.sx { color: #d14 } // Literal.String.Other
|
53
|
+
.sr { color: #009926 } // Literal.String.Regex
|
54
|
+
.s1 { color: #d14 } // Literal.String.Single
|
55
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
56
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
57
|
+
.vc { color: #008080 } // Name.Variable.Class
|
58
|
+
.vg { color: #008080 } // Name.Variable.Global
|
59
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
60
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
61
|
+
}
|
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: minima-reboot
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.23
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alexander Terenin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-seo-tag
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-feed
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.9'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.9'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jekyll-paginate
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.1'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jekyll-redirect-from
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.12'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.12'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.12'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.12'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- aterenin@users.noreply.github.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- LICENSE.txt
|
105
|
+
- README.md
|
106
|
+
- _includes/disqus_comments.html
|
107
|
+
- _includes/footer.html
|
108
|
+
- _includes/google-analytics.html
|
109
|
+
- _includes/head-includes.html
|
110
|
+
- _includes/head.html
|
111
|
+
- _includes/header.html
|
112
|
+
- _includes/icon-github.svg
|
113
|
+
- _layouts/allposts.html
|
114
|
+
- _layouts/default.html
|
115
|
+
- _layouts/home.html
|
116
|
+
- _layouts/page.html
|
117
|
+
- _layouts/post.html
|
118
|
+
- _sass/minima-reboot.scss
|
119
|
+
- _sass/minima-reboot/_layout.scss
|
120
|
+
- _sass/minima-reboot/_syntax-highlighting.scss
|
121
|
+
- assets/main.scss
|
122
|
+
homepage: https://github.com/aterenin/minima-reboot
|
123
|
+
licenses:
|
124
|
+
- MIT
|
125
|
+
metadata:
|
126
|
+
plugin_type: theme
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 2.5.2
|
144
|
+
signing_key:
|
145
|
+
specification_version: 4
|
146
|
+
summary: A Bootstrap port of Minima, Jekyll's default theme.
|
147
|
+
test_files: []
|