lone-wolf-theme 1.0.4 → 1.1.1
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 +4 -4
- data/CHANGELOG.md +50 -6
- data/README.md +39 -17
- data/_includes/archive-list.html +26 -22
- data/_includes/archive-single.html +8 -41
- data/_includes/head/favicon.html +4 -4
- data/_includes/home-action-btn.html +16 -14
- data/_layouts/default.html +2 -2
- data/_layouts/home.html +18 -16
- data/_layouts/post.html +7 -5
- data/_sass/bootswatch/dist/cerulean/_variables.scss +0 -0
- data/_sass/bootswatch/dist/spacelab/_variables.scss +0 -0
- data/_sass/bootswatch/dist/united/_variables.scss +0 -0
- data/_sass/lone-wolf-theme/_extend-bs4.scss +10 -12
- data/_sass/lone-wolf-theme/_syntax.scss +7 -3
- data/assets/images/coding-langs.jpg +0 -0
- data/assets/images/favicons/android-chrome-192x192.png +0 -0
- data/assets/images/favicons/android-chrome-512x512.png +0 -0
- data/assets/images/favicons/apple-touch-icon.png +0 -0
- data/assets/images/favicons/browserconfig.xml +1 -1
- data/assets/images/favicons/favicon-16x16.png +0 -0
- data/assets/images/favicons/favicon-32x32.png +0 -0
- data/assets/images/favicons/favicon.ico +0 -0
- data/assets/images/favicons/mstile-144x144.png +0 -0
- data/assets/images/favicons/mstile-150x150.png +0 -0
- data/assets/images/favicons/mstile-310x150.png +0 -0
- data/assets/images/favicons/mstile-310x310.png +0 -0
- data/assets/images/favicons/mstile-70x70.png +0 -0
- data/assets/images/favicons/safari-pinned-tab.svg +17 -8270
- data/assets/images/favicons/site.webmanifest +2 -2
- data/assets/images/lwt-logo-wolf-v2.png +0 -0
- data/assets/images/lwt-logo-wolf-v2.svg +115 -0
- data/assets/js/main.min.js +3 -3
- metadata +34 -20
- data/assets/images/lwt-logo-v1.svg +0 -337
- data/assets/js/bootstrap/bootstrap.min.js +0 -7
- 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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 393ff61e9332bb3b1292523acb9cb8d3a58523441b8ff573ca5946c27733b969
|
|
4
|
+
data.tar.gz: 0ffd4152f32be2788eb1108d44959dbbc6e1508c948a14ad3097d60814e2385e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dfc1955c3174be0aadd366c0a97290abc8668b0673f42db02dc3a2bb2b900b2d8831fd9ab89b362245080d5e960d2eca71a3f7c7edbcbb10c99f127f17ca5fde
|
|
7
|
+
data.tar.gz: c52ef6a33861df50ba1eecfd348be71e4e9e37c20e4456111890b402d0f521033f32a689c90f5dfec0ace912d4323d858c0c22d9bbc3caf269257a3e25704458
|
data/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,57 @@
|
|
|
1
1
|
# ChangeLog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Record the changes to the project.
|
|
4
|
+
Refer [keepachangelog](https://keepachangelog.com/) for guidelines.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
## Upcoming
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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]
|
|
1
|
+
# [Lone Wolf Theme Jekyll][1]
|
|
2
2
|
|
|
3
3
|
[](https://github.com/manid2/lone-wolf-theme/blob/master/LICENSE)
|
|
4
4
|
[][jekyll]
|
|
5
5
|
[](https://rubygems.org/gems/lone-wolf-theme/)
|
|
6
|
+
[](https://travis-ci.com/manid2/lone-wolf-theme)
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
A simple [bootstrap][bs4] based jekyll theme.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
18
|
+
- [Lone wolf theme docs][1]
|
|
19
|
+
- [Me, manid2][2]
|
|
20
|
+
|
|
21
|
+
## Screenshots
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Add `
|
|
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
|
-
[
|
|
43
|
-
[
|
|
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/
|
data/_includes/archive-list.html
CHANGED
|
@@ -2,32 +2,36 @@
|
|
|
2
2
|
{%- assign list_type = include.list_type -%}
|
|
3
3
|
|
|
4
4
|
<div class="archive-list">
|
|
5
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
16
|
-
|
|
16
|
+
{% endfor %}
|
|
17
|
+
</ul>
|
|
18
|
+
</div>
|
|
17
19
|
{% endfor %}
|
|
18
|
-
|
|
20
|
+
{%- else -%}
|
|
19
21
|
{% assign taxonomies = list_items %}
|
|
20
22
|
{% for taxonomy in taxonomies %}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
33
|
-
</div>
|
|
36
|
+
{%- endif -%}
|
|
37
|
+
</div>
|
|
@@ -1,41 +1,8 @@
|
|
|
1
|
-
{%- assign
|
|
2
|
-
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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>
|
data/_includes/head/favicon.html
CHANGED
|
@@ -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="#
|
|
9
|
-
<meta name="msapplication-TileColor" content="#
|
|
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
|
-
|
|
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
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
+
{%- endfor -%}
|
|
23
|
+
</div>
|
|
22
24
|
</div>
|
|
23
|
-
|
|
24
|
-
</
|
|
25
|
+
{%- endif -%}
|
|
26
|
+
</p>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
|
@@ -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
|
-
<
|
|
30
|
-
|
|
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
|
-
|
|
34
|
+
{% endif %}
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
{% if f_row.img_alt %}
|
|
38
37
|
{% capture img_alt %}
|
|
39
38
|
{{ f_row.img_alt | default: 'Feature image' }}
|
|
40
39
|
{% endcapture %}
|
|
41
|
-
|
|
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
|
-
|
|
44
|
+
<img class="img-fluid rounded-top" src="{{ img_path | strip }}" alt="{{ img_alt | strip }}">
|
|
49
45
|
{% endif %}
|
|
46
|
+
</div>
|
|
50
47
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
</
|
|
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">
|
data/_layouts/post.html
CHANGED
|
@@ -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="
|
|
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="
|
|
70
|
-
<div class="
|
|
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
|
|
74
|
+
<div class="blog-post-toc m-1">
|
|
73
75
|
{% include toc.html html=content %}
|
|
74
76
|
</div>
|
|
75
77
|
</nav>
|
|
File without changes
|
|
File without changes
|