lone-wolf-theme 1.0.4 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -6
  3. data/README.md +39 -17
  4. data/_includes/archive-list.html +26 -22
  5. data/_includes/archive-single.html +8 -41
  6. data/_includes/head/favicon.html +4 -4
  7. data/_includes/home-action-btn.html +16 -14
  8. data/_layouts/default.html +2 -2
  9. data/_layouts/home.html +18 -16
  10. data/_layouts/post.html +7 -5
  11. data/_sass/bootswatch/dist/cerulean/_variables.scss +0 -0
  12. data/_sass/bootswatch/dist/spacelab/_variables.scss +0 -0
  13. data/_sass/bootswatch/dist/united/_variables.scss +0 -0
  14. data/_sass/lone-wolf-theme/_extend-bs4.scss +10 -12
  15. data/_sass/lone-wolf-theme/_syntax.scss +7 -3
  16. data/assets/images/coding-langs.jpg +0 -0
  17. data/assets/images/favicons/android-chrome-192x192.png +0 -0
  18. data/assets/images/favicons/android-chrome-512x512.png +0 -0
  19. data/assets/images/favicons/apple-touch-icon.png +0 -0
  20. data/assets/images/favicons/browserconfig.xml +1 -1
  21. data/assets/images/favicons/favicon-16x16.png +0 -0
  22. data/assets/images/favicons/favicon-32x32.png +0 -0
  23. data/assets/images/favicons/favicon.ico +0 -0
  24. data/assets/images/favicons/mstile-144x144.png +0 -0
  25. data/assets/images/favicons/mstile-150x150.png +0 -0
  26. data/assets/images/favicons/mstile-310x150.png +0 -0
  27. data/assets/images/favicons/mstile-310x310.png +0 -0
  28. data/assets/images/favicons/mstile-70x70.png +0 -0
  29. data/assets/images/favicons/safari-pinned-tab.svg +17 -8270
  30. data/assets/images/favicons/site.webmanifest +2 -2
  31. data/assets/images/lwt-logo-wolf-v2.png +0 -0
  32. data/assets/images/lwt-logo-wolf-v2.svg +115 -0
  33. data/assets/js/main.min.js +3 -3
  34. metadata +34 -20
  35. data/assets/images/lwt-logo-v1.svg +0 -337
  36. data/assets/js/bootstrap/bootstrap.min.js +0 -7
  37. data/assets/js/bootstrap/bootstrap.min.js.map +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbff8b8344c188026d0c723aa68538e71bebd3fa3e1d629a60737d30a457be2e
4
- data.tar.gz: 527c72b798135935af699e317e512e680ab21e76b646eda61d9dac8891ac0525
3
+ metadata.gz: 393ff61e9332bb3b1292523acb9cb8d3a58523441b8ff573ca5946c27733b969
4
+ data.tar.gz: 0ffd4152f32be2788eb1108d44959dbbc6e1508c948a14ad3097d60814e2385e
5
5
  SHA512:
6
- metadata.gz: 6aa7655e50924330beeb0086c6afab8ed88c35972caa1778d2108aa72c893d4fd477ed074c6df8a25ebecd498b4d957a6494e7a3d0d084d6eae91be87281e367
7
- data.tar.gz: f3c74dc559b612fa8465e7e2785f7c980a298ac8d9c086a2c820cc4a9cb4e8701970d5b4c8cfd6f304b7e04f55fd1e06abd35409b350e2706762f2227cd5c20e
6
+ metadata.gz: dfc1955c3174be0aadd366c0a97290abc8668b0673f42db02dc3a2bb2b900b2d8831fd9ab89b362245080d5e960d2eca71a3f7c7edbcbb10c99f127f17ca5fde
7
+ data.tar.gz: c52ef6a33861df50ba1eecfd348be71e4e9e37c20e4456111890b402d0f521033f32a689c90f5dfec0ace912d4323d858c0c22d9bbc3caf269257a3e25704458
@@ -1,13 +1,57 @@
1
1
  # ChangeLog
2
2
 
3
- ## Upcoming [v1.1.0]
3
+ Record the changes to the project.
4
+ Refer [keepachangelog](https://keepachangelog.com/) for guidelines.
4
5
 
5
- ### Enhancements
6
+ ## Upcoming
6
7
 
7
- - Site Search function.
8
- - Collapse h2 tags in blog posts.
9
- - Video support.
10
- - Slide show and carousel support.
8
+ * Words per minute to indicate time required to read a blog post.
9
+ * Related posts at the bottom of blog post.
10
+ * Show/Hide comments on button click.
11
+ * Use custom links or ads in right sidebar.\
12
+ Keep same width for blog posts.\
13
+ Smaller width is easy and requires only vertical scrolling.
14
+ * Page read progress indicator.
15
+ * Go to top button.
16
+
17
+ Not implemented in any particular order, depends on feasibility and\
18
+ proof-of-concept (POC).
19
+
20
+ ## [v1.1.1](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.1.1)
21
+
22
+ * Enhance icons and logo to make it more visible and recognizable.
23
+ * Updated CHANGELOG.md
24
+
25
+ ## [v1.1.0](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.1.0)
26
+
27
+ * Add js development doc
28
+ * Update theme version
29
+ * Remove package-lock json, add to gitignore
30
+ * Add local dev test steps
31
+ * Add pagination to blog list page
32
+ * Enhance post layout, shadows n minor ui fixes
33
+ * Enhance home page layout
34
+ * Change bs4 rows to ul
35
+
36
+ ## [v1.0.6](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.0.6)
37
+
38
+ - Setup `travis-ci` to build and deploy to rubygems.org, #20.
39
+ - UI improvements, fixes #22.
40
+ - Miscellaneous improvements.
41
+ - Added `dependencies` page in `docs/` for reference and upgrades.
42
+
43
+ ## [v1.0.5](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.0.5)
44
+
45
+ Fixed and enhanced documentation, removed Gemfile.lock.
46
+
47
+ - Documentation fixes and enhancements.
48
+ - Fixed building jekyll docs/_site from docs folder.
49
+ - Organized .gitignore file meaningfully.
50
+ - Removed Gemfile.lock file.
51
+
52
+ ## [v1.0.4](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.0.4)
53
+
54
+ Fixed the default configuration settings.
11
55
 
12
56
  ## [v1.0.2](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.0.2)
13
57
 
data/README.md CHANGED
@@ -1,43 +1,65 @@
1
- # [Lone Wolf Theme Jekyll](https://github.com/manid2/lone-wolf-theme/)
1
+ # [Lone Wolf Theme Jekyll][1]
2
2
 
3
3
  [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/manid2/lone-wolf-theme/blob/master/LICENSE)
4
4
  [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.8-blue.svg)][jekyll]
5
5
  [![Ruby gem](https://badge.fury.io/rb/lone-wolf-theme.svg)](https://rubygems.org/gems/lone-wolf-theme/)
6
+ [![Build Status](https://travis-ci.com/manid2/lone-wolf-theme.svg?branch=master)](https://travis-ci.com/manid2/lone-wolf-theme)
6
7
 
7
- ## Introduction
8
+ A simple [bootstrap][bs4] based jekyll theme.
8
9
 
9
- Simple, elegant and efficient website theme for solo freelancers.
10
- AKA **lone wolves** who strive to run a business single handedly.
11
- It is for [Jekyll][jekyll] static site generator and uses [Bootstrap 4][bs4] with beautiful [Bootswatch][bootswatch] themes.
10
+ It uses
11
+
12
+ - [github-pages compatible gems][gh-gems]
13
+ - [bootswatch wrappers][bootswatch]
14
+ - [animate.css][ani-css].
12
15
 
13
16
  ## Who uses it
14
17
 
15
- ### As of now
18
+ - [Lone wolf theme docs][1]
19
+ - [Me, manid2][2]
20
+
21
+ ## Screenshots
16
22
 
17
- - Lone wolf theme [docs][lwt-docs]
18
- - Me, [manid2][manid2]
23
+ ![Lone wolf theme screenshot][lwt_ss_all_img]
24
+
25
+ <!-- Images -->
26
+ [lwt_ss_all_img]: lwt_screenshots/lwt_ss_all_in_one.png "Lone wolf theme screenshot"
19
27
 
20
28
  ## Installation
21
29
 
22
30
  ### Using remote theme
23
31
 
24
- Easiest way to use the theme if you dont want to make changes to the theme's code
32
+ Easiest way to use the theme if you dont want to make changes to the theme's
33
+ code.
25
34
 
26
- Add `remote_theme : "manid2/lone-wolf-theme"` to your `_config.yml` file.
35
+ - Add `remote_theme : "manid2/lone-wolf-theme"` to your `_config.yml` file.
27
36
 
28
37
  ### By forking the theme repository
29
38
 
30
- If you want to make changes to the code and to truly own the site. Follow the blog on smashing magazine to learn about this method [here](https://www.smashingmagazine.com/2014/08/build-blog-jekyll-github-pages/).
39
+ If you want to make changes to the code and to truly own the site.
40
+ Follow the blog on [smashing magazine][sm-gh-pages] to learn about this method.
31
41
 
32
42
  ### As a ruby gem
33
43
 
34
- When you want to host the site on any server other than the github pages and also to make use of plenty of jekyll plugins.
35
- Add `gem "lone-wolf-theme"` to your `Gemfile`.
36
- Update bundled gems by using `bundle` command.
37
- Add `theme : "lone-wolf-theme"` to your `_config.yml`.
44
+ When you want to host the site on any server other than the github pages
45
+ and also to make use of plenty of jekyll plugins.
46
+
47
+ - Add `gem "lone-wolf-theme"` to your `Gemfile`.
48
+ - Update bundled gems by using `bundle` command.
49
+ - Add `theme : "lone-wolf-theme"` to your `_config.yml`.
38
50
 
51
+ ## Contribution
52
+
53
+ Use the link to learn how to [contribute][3] to LWT.
54
+
55
+ <!-- Links in the post -->
39
56
  [jekyll]: https://jekyllrb.com/
40
57
  [bs4]: https://getbootstrap.com/
41
58
  [bootswatch]: https://bootswatch.com/
42
- [manid2]: https://manid2.github.io/
43
- [lwt-docs]: https://manid2.github.io/lone-wolf-theme/
59
+ [gh-gems]: https://pages.github.com/versions/
60
+ [ani-css]: https://daneden.github.io/animate.css/
61
+ [sm-gh-pages]: https://www.smashingmagazine.com/2014/08/build-blog-jekyll-github-pages/
62
+
63
+ [1]: https://manid2.github.io/lone-wolf-theme/
64
+ [2]: https://manid2.github.io/
65
+ [3]: https://manid2.github.io/lone-wolf-theme/contribute/
@@ -2,32 +2,36 @@
2
2
  {%- assign list_type = include.list_type -%}
3
3
 
4
4
  <div class="archive-list">
5
- {%- if list_type == "posts" -%}
5
+ {%- if list_type == "posts" -%}
6
6
  {% assign posts_by_years = list_items | group_by_exp: 'post', 'post.date | date: "%Y"' %}
7
7
  {% for year in posts_by_years %}
8
- <a data-toggle="collapse" href="#posts_in_{{ year.name }}" role="button" aria-expanded="false"
9
- aria-controls="posts_in_{{ year.name }}">
10
- <h2 id="posts_in_{{ year.name }}_heading">{{ year.name }}</h2>
11
- </a>
12
- <div class="collapse show" id="posts_in_{{ year.name }}">
13
- {% for post in year.items %}
8
+ <a data-toggle="collapse" href="#posts_in_{{ year.name }}" role="button" aria-expanded="false"
9
+ aria-controls="posts_in_{{ year.name }}">
10
+ <h2 id="posts_in_{{ year.name }}_heading">{{ year.name }}</h2>
11
+ </a>
12
+ <div class="collapse show" id="posts_in_{{ year.name }}">
13
+ <ul>
14
+ {% for post in year.items %}
14
15
  {% include archive-single.html item=post %}
15
- {% endfor %}
16
- </div>
16
+ {% endfor %}
17
+ </ul>
18
+ </div>
17
19
  {% endfor %}
18
- {%- else -%}
20
+ {%- else -%}
19
21
  {% assign taxonomies = list_items %}
20
22
  {% for taxonomy in taxonomies %}
21
- {%- capture tax_0 -%} {{ taxonomy[0] | slugify }} {%- endcapture -%}
22
- <a data-toggle="collapse" href="#posts_in_{{ tax_0 }}" role="button" aria-expanded="false"
23
- aria-controls="posts_in_{{ tax_0 }}">
24
- <h2 id="posts_in_{{ tax_0 }}_heading">{{ tax_0 }}</h2>
25
- </a>
26
- <div class="collapse show" id="posts_in_{{ tax_0 }}">
27
- {% for post in taxonomy[1] %}
28
- {% include archive-single.html item=post %}
29
- {% endfor %}
30
- </div>
23
+ {%- capture tax_0 -%} {{ taxonomy[0] | slugify }} {%- endcapture -%}
24
+ <a data-toggle="collapse" href="#posts_in_{{ tax_0 }}" role="button" aria-expanded="false"
25
+ aria-controls="posts_in_{{ tax_0 }}">
26
+ <h2 id="posts_in_{{ tax_0 }}_heading">{{ tax_0 }}</h2>
27
+ </a>
28
+ <div class="collapse show" id="posts_in_{{ tax_0 }}">
29
+ <ul>
30
+ {% for post in taxonomy[1] %}
31
+ {% include archive-single.html item=post %}
32
+ {% endfor %}
33
+ </ul>
34
+ </div>
31
35
  {% endfor %}
32
- {%- endif -%}
33
- </div>
36
+ {%- endif -%}
37
+ </div>
@@ -1,41 +1,8 @@
1
- {%- assign item = include.item -%}
2
-
3
- <a href="{{ item.url | relative_url }}" title="Go to {{ item.title }}" class="nav-link py-0">
4
- <div class="row no-gutters mb-3 border rounded">
5
- {% if item.header.teaser %}
6
- {% capture img_path %}
7
- {{ "/assets/images/" | relative_url | append: item.header.teaser }}
8
- {% endcapture %}
9
-
10
- {% capture img_alt %}
11
- {{ item.title }}
12
- {% endcapture %}
13
-
14
- {% elsif site.teaser %}
15
- {% capture img_path %}
16
- {{ "/assets/images/" | relative_url | append: site.teaser }}
17
- {% endcapture %}
18
-
19
- {% capture img_alt %}
20
- {{ site.title }} post teaser
21
- {% endcapture %}
22
- {% endif %}
23
-
24
- {% if img_path %}
25
- <div class="col-sm-4 text-center">
26
- <img class="img-fluid rounded" src="{{ img_path | strip }}" alt="{{ img_alt | strip }}">
27
- </div>
28
- {% endif %}
29
- <div class="col-sm-8 pl-3">
30
- <h3 class="my-1">
31
- <span class="text-dark ">{{ item.title | strip | strip_html | strip_newlines | truncate: 60 }}</span>
32
- </h3>
33
- <p class="mb-1">
34
- <span class="small font-italic text-secondary">{{ item.date | date: "%b %-d, %Y" }}</span>
35
- </p>
36
- <p class="mb-1 d-none d-sm-block">
37
- <span class="text-muted">{{ item.excerpt | strip | strip_html | strip_newlines | truncate: 180 }}</span>
38
- </p>
39
- </div>
40
- </div>
41
- </a>
1
+ {%- assign li_item = include.item -%}
2
+
3
+ <li>
4
+ <a href="{{ li_item.url | relative_url }}">{{ li_item.title }}</a>
5
+ <p class="font-italic text-muted">
6
+ {{ li_item.date | date_to_string }} | {{ li_item.categories | join: ', ' }}
7
+ </p>
8
+ </li>
@@ -5,9 +5,9 @@
5
5
  <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/images/favicons/favicon-32x32.png' | relative_url }}">
6
6
  <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/images/favicons/favicon-16x16.png' | relative_url }}">
7
7
  <link rel="manifest" href="{{ '/assets/images/favicons/site.webmanifest' | relative_url }}">
8
- <link rel="mask-icon" color="#5bbad5" href="{{ '/assets/images/favicons/safari-pinned-tab.svg' | relative_url }}">
9
- <meta name="msapplication-TileColor" content="#2d89ef">
8
+ <link rel="mask-icon" color="#495ce7" href="{{ '/assets/images/favicons/safari-pinned-tab.svg' | relative_url }}">
9
+ <meta name="msapplication-TileColor" content="#da532c">
10
+ <meta name="theme-color" content="#ffffff">
10
11
  <link rel="shortcut icon" href="{{ '/assets/images/favicons/favicon.ico' | relative_url }}">
11
12
  <meta name="msapplication-config" content="{{ '/assets/images/favicons/browserconfig.xml' | relative_url }}">
12
- <meta name="theme-color" content="#ffffff">
13
- <!-- favicon end -->
13
+ <!-- favicon end -->
@@ -2,23 +2,25 @@
2
2
  {%- assign dropdown = include.dropdown -%}
3
3
  {%- assign dropdown_items = include.dropdown_items -%}
4
4
 
5
- <div class="btn-group animated rubberBand delay-1s" role="group" aria-label="Button group with nested dropdown">
6
- <a class="{{ action_btn.class }}" href="{{ action_btn.url }}">
7
- <i class="{{ action_btn.fa_icon }}"></i>
8
- <span class="pl-1">{{ action_btn.label }}</span>
9
- </a>
10
- {%- if dropdown -%}
5
+ <p class="btn-group animated rubberBand delay-1s" role="group" aria-label="Button group with nested dropdown">
6
+ <a class="{{ action_btn.class }}" href="{{ action_btn.url }}">
7
+ <i class="{{ action_btn.fa_icon }}"></i>
8
+ <span class="pl-1">{{ action_btn.label }}</span>
9
+ </a>
10
+ {%- if dropdown -%}
11
11
  <div class="btn-group" role="group">
12
- <button id="btnGroupDrop2" type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown"
13
- aria-haspopup="true" aria-expanded="false"></button>
14
- <div class="dropdown-menu dropdown-menu-right" aria-labelledby="btnGroupDrop2">
15
- {%- for item in dropdown_items -%}
12
+ <button id="btnGroupDrop2" type="button"
13
+ class="btn btn-success dropdown-toggle" data-toggle="dropdown"
14
+ aria-haspopup="true" aria-expanded="false">
15
+ </button>
16
+ <div class="dropdown-menu dropdown-menu-right" aria-labelledby="btnGroupDrop2">
17
+ {%- for item in dropdown_items -%}
16
18
  <a class="dropdown-item" href="{{ item.url }}">
17
19
  <i class="{{ item.fa_icon }}"></i>
18
20
  <span class="pl-1">{{ item.label }}</span>
19
21
  </a>
20
- {%- endfor -%}
21
- </div>
22
+ {%- endfor -%}
23
+ </div>
22
24
  </div>
23
- {%- endif -%}
24
- </div>
25
+ {%- endif -%}
26
+ </p>
@@ -3,7 +3,7 @@
3
3
  ---
4
4
 
5
5
  <!DOCTYPE html>
6
- <html>
6
+ <html lang="{{ site.lang | slice: 0,2 | default: "en" }}">
7
7
 
8
8
  {% include head.html %}
9
9
 
@@ -22,4 +22,4 @@
22
22
  {% include scripts.html %}
23
23
  </body>
24
24
 
25
- </html>
25
+ </html>
@@ -12,12 +12,12 @@ layout: default
12
12
  <div class="container text-center">
13
13
  <h1 class="animated fadeInDownBig">{{ page.title | default: 'HOME' }}</h1>
14
14
  <p class="lead">{{ page.excerpt | default: 'Excerpt' }}</p>
15
-
16
15
  {%- if page.action -%}
17
16
  {%- include home-action-btn.html action_btn=action_btn dropdown=dropdown dropdown_items=dropdown_items -%}
18
17
  {%- endif -%}
19
18
  </div>
20
19
  </section>
20
+
21
21
  <!-- home page features -->
22
22
  <section class="home-page-features">
23
23
  <div class="container">
@@ -26,39 +26,41 @@ layout: default
26
26
  {% for f_row in page.feature_rows %}
27
27
  <!-- TODO use animate.css to animate on hover -->
28
28
  <div class="col-md-4 p-0">
29
- <a href="{{ f_row.url | relative_url }}">
30
- <div class="card border-success m-3">
31
- {% if f_row.img_path %}
29
+ <div class="card border-0 m-3">
30
+ {% if f_row.img_path %}
32
31
  {% capture img_path %}
33
32
  {{ '/assets/images/' | relative_url | append: f_row.img_path }}
34
33
  {% endcapture %}
35
- {% endif %}
34
+ {% endif %}
36
35
 
37
- {% if f_row.img_alt %}
36
+ {% if f_row.img_alt %}
38
37
  {% capture img_alt %}
39
38
  {{ f_row.img_alt | default: 'Feature image' }}
40
39
  {% endcapture %}
41
- {% endif %}
42
-
43
- <div class="card-header">
44
- <h2 class="m-0">{{ f_row.title | strip | strip_html | strip_newlines | truncate: 10 }}</h2>
45
- </div>
40
+ {% endif %}
46
41
 
42
+ <div class="shadow-sm rounded-top">
47
43
  {% if img_path %}
48
- <img class="img-fluid" src="{{ img_path | strip }}" alt="{{ img_alt | strip }}">
44
+ <img class="img-fluid rounded-top" src="{{ img_path | strip }}" alt="{{ img_alt | strip }}">
49
45
  {% endif %}
46
+ </div>
50
47
 
51
- <div class="card-body">
52
- <p class="card-text">{{ f_row.excerpt | strip | strip_html | strip_newlines | truncate: 200 }}</p>
53
- </div>
48
+ <div class="card-body bg-light border border-light border-top-0 rounded-bottom">
49
+ <a href="{{ f_row.url | relative_url }}">
50
+ <h2 class="m-0">
51
+ {{ f_row.title | strip | strip_html | strip_newlines | truncate: 10 }}
52
+ </h2>
53
+ </a>
54
+ <p class="card-text">{{ f_row.excerpt | strip | strip_html | strip_newlines | truncate: 200 }}</p>
54
55
  </div>
55
- </a>
56
+ </div>
56
57
  </div>
57
58
  {% endfor %}
58
59
  </div>
59
60
  {% endif%}
60
61
  </div>
61
62
  </section>
63
+
62
64
  <!-- home page article -->
63
65
  <section class="home-page-article">
64
66
  <div class="container">
@@ -31,14 +31,14 @@ layout: default
31
31
  {% if page.show_hero %}
32
32
  <!-- post hero -->
33
33
  <figure class="figure">
34
- <img class="img-fluid shadow rounded mb-2 blog-post-hero-img" src="{{ header_img | strip }}"
34
+ <img class="img-fluid shadow-sm rounded mb-2 blog-post-hero-img" src="{{ header_img | strip }}"
35
35
  alt="{{ h_img_alt | strip }}">
36
36
  <figcaption class="figure-caption text-center">{{ img_cap | strip }}</figcaption>
37
37
  </figure>
38
38
  {% endif %}
39
39
  <!-- post title -->
40
40
  <h1>{{ page.title }}</h1>
41
- <p class="small font-italic text-secondary">{{ page.date | date: "%b %-d, %Y" }}</p>
41
+ <p class="font-italic text-muted">{{ page.date | date: "%b %-d, %Y" }}</p>
42
42
  {% if page.show_author %}
43
43
  <!-- post author, share -->
44
44
  <div class="row align-items-center py-2 border-top border-bottom blog-post-author">
@@ -66,10 +66,12 @@ layout: default
66
66
  {% endif %}
67
67
  {% if page.show_toc %}
68
68
  <!-- post TOC -->
69
- <nav class="card mt-3 d-inline-block shadow-sm rounded">
70
- <div class="card-header bg-info text-white"><i class="fas fa-list"></i><span class="pl-1">Contents</span>
69
+ <nav class="border mt-3 d-inline-block rounded">
70
+ <div class="p-1 bg-info text-white">
71
+ <i class="fas fa-list"></i>
72
+ <span class="pl-1">Contents</span>
71
73
  </div>
72
- <div class="blog-post-toc pr-3">
74
+ <div class="blog-post-toc m-1">
73
75
  {% include toc.html html=content %}
74
76
  </div>
75
77
  </nav>