lbenicio-minimal-v1 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/posts.html +9 -0
- data/assets/css/post.scss +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '047387d0a8ed5f7184a4543d951f0e49314b5837a6d4bd537e3677de96e336b1'
|
4
|
+
data.tar.gz: 3e01488564fe7d703084fc40a5cb4d6e4996059461535b2bb64a11439e574d27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36101d9fdbd1e0d3f3ad3a316e5e2a3180151ea2ac6643598658dc722b11fe4ad8d53c4e38bd839c40c43a9ce26cb32f6a3ff65011cc52341c88915553e0b585
|
7
|
+
data.tar.gz: 7023f03de95602c35bca626e474c96c2acc18e4f41681382bf46371879c8690751cef3f6f6bbfb1c360dc1e9541192682f01cea7b8e9e359cc406c9f6dcb14e9
|
data/_layouts/posts.html
CHANGED
@@ -8,11 +8,20 @@
|
|
8
8
|
<body class="bg-body d-flex flex-column min-vh-100 {% if page.date %} body-posts{% endif %}">
|
9
9
|
{% include fork.html %}
|
10
10
|
{% include navigation.html %}
|
11
|
+
{% include blog-navigation.html %}
|
11
12
|
<div class="container-fluid">
|
12
13
|
<div class="row">
|
13
14
|
<div class="offset-xs-1 col-xs-10 offset-sm-3 col-sm-6">
|
14
15
|
<section class="content mt-5">
|
15
16
|
<div class="container-fluid" id="main-container">
|
17
|
+
<div class="reading-time">
|
18
|
+
{% capture time %}{{ content | reading_time }}{% endcapture %}
|
19
|
+
<p>This article will take {{ time }} {% if time == '1' %}minute{% else %}minutes{% endif %} to read.</p>
|
20
|
+
</div>
|
21
|
+
<div id="table-of-contents" class="">
|
22
|
+
<h3 class="mb-3">Table of Contents</h3>
|
23
|
+
{% toc %}
|
24
|
+
</div>
|
16
25
|
{% include anchor-headings.html html=content anchorBody="#" anchorClass="link-anchor" %}
|
17
26
|
{% include post-navigation.html %}
|
18
27
|
</div>
|
data/assets/css/post.scss
CHANGED
@@ -23,4 +23,12 @@ body.body-posts section.content #main-container .link-anchor:hover {
|
|
23
23
|
|
24
24
|
body.body-posts section.content #main-container h1, h2, h3, h4, h5, h6 {
|
25
25
|
padding-top: 3rem;
|
26
|
+
}
|
27
|
+
|
28
|
+
body.body-posts section.content #main-container .toc-entry a {
|
29
|
+
color: black !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
body.body-posts section.content #main-container .toc-entry li {
|
33
|
+
margin-top: 1rem;
|
26
34
|
}
|