lbenicio-minimal-v1 1.3.1 → 1.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 273bfb340eb26096c80ef74d208b446b9f3251610113f533e33d85f0b8a5a684
4
- data.tar.gz: ee92ccb94b41c2370706e1440e6ae3a75277262d4b0a32c1d501ac1f1fd38841
3
+ metadata.gz: '047387d0a8ed5f7184a4543d951f0e49314b5837a6d4bd537e3677de96e336b1'
4
+ data.tar.gz: 3e01488564fe7d703084fc40a5cb4d6e4996059461535b2bb64a11439e574d27
5
5
  SHA512:
6
- metadata.gz: 103bba1ce5f3573f752faf1294957987a4ee112524238ffed78d5d9bd34d7cbb2a2c033e774843a6d1541b1aad2daffef0d42a2a6a7fc37003e9f12fab9309de
7
- data.tar.gz: 324499bc880682456850408762e7c144ed1d3a71bb52207fc42d8393df630d9523056df0dc75af3dfe24a788400efec10cf0b2abf80ac85b5b7c1c54b83b0e9e
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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lbenicio-minimal-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Benicio