lbenicio-minimal-v1 1.3.0 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48c8a21b44563f826c76cb687064d33ac718bd859f828b3bd1d46f418248e493
4
- data.tar.gz: 84fbdfe9bdd3d197a0ce4e5b148b2946f8d70ed30c92f3fd06dd8aa057d515aa
3
+ metadata.gz: '047387d0a8ed5f7184a4543d951f0e49314b5837a6d4bd537e3677de96e336b1'
4
+ data.tar.gz: 3e01488564fe7d703084fc40a5cb4d6e4996059461535b2bb64a11439e574d27
5
5
  SHA512:
6
- metadata.gz: 7a561a6095ead9b6c464dc00d6a74fd3ce399e56d5b6a001e38e16263dd38e2420c302711d675ca8f08371b2c538339295f3e89f27cd52bdeae321ec421f6024
7
- data.tar.gz: 418d71eed656f5e15ac8fdf078f2645cdeb7e562bee0c1d60051818dabcf8a178bfccdf26ef3c77be5b9f0bed035ff453f5928e43feb10d76d7e4a7afcc338da
6
+ metadata.gz: 36101d9fdbd1e0d3f3ad3a316e5e2a3180151ea2ac6643598658dc722b11fe4ad8d53c4e38bd839c40c43a9ce26cb32f6a3ff65011cc52341c88915553e0b585
7
+ data.tar.gz: 7023f03de95602c35bca626e474c96c2acc18e4f41681382bf46371879c8690751cef3f6f6bbfb1c360dc1e9541192682f01cea7b8e9e359cc406c9f6dcb14e9
@@ -1,17 +1,17 @@
1
- <nav class="mt-1 mb-5 border-bottom border-2 border-light">
1
+ <nav class="container-fluid mt-5 mb-5 border-bottom border-2 border-light w-75 pb-5">
2
2
  <nav class="offset-3 col-6">
3
3
  <ul class="list-group list-group-horizontal justify-content-center">
4
4
  <li class="list-group-item border-0">
5
- <a class="text-dark nav-blog-links" href="{{ site.default_url }}/">Articles</a>
5
+ <a class="text-dark nav-blog-links" href="{{ site.url }}/">Articles</a>
6
6
  </li>
7
7
  <li class="list-group-item border-0">
8
- <a class="text-dark nav-blog-links" href="{{ site.default_url }}/feed/posts">Feed</a>
8
+ <a class="text-dark nav-blog-links" href="{{ site.url }}/feed/posts">Feed</a>
9
9
  </li>
10
10
  <li class="list-group-item border-0">
11
- <a class="text-dark nav-blog-links" href="{{ site.default_url }}/category">Categories</a>
11
+ <a class="text-dark nav-blog-links" href="{{ site.url }}/category">Categories</a>
12
12
  </li>
13
13
  <li class="list-group-item border-0">
14
- <a class="text-dark nav-blog-links" href="{{ site.default_url }}/tag">Tags</a>
14
+ <a class="text-dark nav-blog-links" href="{{ site.url }}/tag">Tags</a>
15
15
  </li>
16
16
  </ul>
17
17
  </nav>
@@ -4,6 +4,7 @@
4
4
  <head>
5
5
  {% include head.html %}
6
6
  </head>
7
+
7
8
  <body class="bg-body d-flex flex-column min-vh-100 {% if page.date %} body-posts{% endif %}">
8
9
  {% include fork.html %}
9
10
  {% include navigation.html %}
@@ -22,4 +23,4 @@
22
23
  {% include analytics.html %}
23
24
  </body>
24
25
 
25
- </html>
26
+ </html>
data/_layouts/feed.html CHANGED
@@ -4,6 +4,7 @@
4
4
  <head>
5
5
  {% include head.html %}
6
6
  </head>
7
+
7
8
  <body class="bg-body d-flex flex-column min-vh-100 {% if page.date %} body-posts{% endif %}">
8
9
  {% include fork.html %}
9
10
  {% include navigation.html %}
@@ -11,7 +12,7 @@
11
12
  <div class="container-fluid mt-2">
12
13
  <div class="row">
13
14
  <div class="offset-xs-1 col-xs-10 offset-sm-3 col-sm-6">
14
- <section class="content">
15
+ <section class="content mt-5">
15
16
  <div class="container-fluid" id="main-container">
16
17
  {{ content }}
17
18
  {% include pagination.html %}
@@ -24,4 +25,4 @@
24
25
  {% include analytics.html %}
25
26
  </body>
26
27
 
27
- </html>
28
+ </html>
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.0
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Benicio