lone-wolf-theme 1.1.1 → 1.2.0

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: 393ff61e9332bb3b1292523acb9cb8d3a58523441b8ff573ca5946c27733b969
4
- data.tar.gz: 0ffd4152f32be2788eb1108d44959dbbc6e1508c948a14ad3097d60814e2385e
3
+ metadata.gz: 25c9669f43f787bac4d8d523518e3a3dc5e28357f80a1049256c887237022f55
4
+ data.tar.gz: 62be1e391fd93042fb292328aa0201b8cf6c0e34ec151b6b94d6ce9f0c4da764
5
5
  SHA512:
6
- metadata.gz: dfc1955c3174be0aadd366c0a97290abc8668b0673f42db02dc3a2bb2b900b2d8831fd9ab89b362245080d5e960d2eca71a3f7c7edbcbb10c99f127f17ca5fde
7
- data.tar.gz: c52ef6a33861df50ba1eecfd348be71e4e9e37c20e4456111890b402d0f521033f32a689c90f5dfec0ace912d4323d858c0c22d9bbc3caf269257a3e25704458
6
+ metadata.gz: 6627a60e6b3cdcaf8556279dfc4a4606c2c1b7192b15bf93ed1fe2f4f747c394b64435b6d865b275ea65e08a0edf0125c69a4887be19c6ea24fd66b18eb07d64
7
+ data.tar.gz: f9277b1aa7c9d61daef95e84523139a49cfbfba65307d7514f5d43bd253cfc9b29ce1bc0f06293467a45eae88b830c23d2ab832f9c7cf77d015a9453e565e935
@@ -17,6 +17,14 @@ Refer [keepachangelog](https://keepachangelog.com/) for guidelines.
17
17
  Not implemented in any particular order, depends on feasibility and\
18
18
  proof-of-concept (POC).
19
19
 
20
+ ## [v1.2.0](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.2.0)
21
+
22
+ Optimized for SEO with `jekyll-seo-tag` properties, refactored code to:
23
+
24
+ * Add site logo to any page (default site logo) for SEO and social share
25
+ * Align theme config properties to jekyll-seo-tag plugin properties for\
26
+ better SEO results.
27
+
20
28
  ## [v1.1.1](https://github.com/manid2/lone-wolf-theme/releases/tag/v1.1.1)
21
29
 
22
30
  * Enhance icons and logo to make it more visible and recognizable.
@@ -2,7 +2,7 @@
2
2
  <nav class="container">
3
3
  <!-- site home -->
4
4
  <a class="navbar-brand" href="{{ '/' | absolute_url }}">
5
- <img src="{{ '/assets/images/' | relative_url | append: site.logo }}" alt="{{ site.title }} logo" height="32" width="32">
5
+ <img src="{{ site.logo | relative_url }}" alt="{{ site.title }} logo" height="32" width="32">
6
6
  </a>
7
7
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01"
8
8
  aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
@@ -2,17 +2,17 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% if page.header.teaser %}
6
- {% capture header_img %}
7
- {{ '/assets/images/' | relative_url | append: page.header.teaser }}
5
+ {% if page.image %}
6
+ {% capture page_image %}
7
+ {{ page.image | relative_url | default: '' }}
8
8
  {% endcapture %}
9
9
 
10
- {% capture h_img_alt %}
11
- {{ page.header.alt | default: page.title }}
10
+ {% capture page_image_alt %}
11
+ {{ page.image_alt | default: 'page image default alt' }}
12
12
  {% endcapture %}
13
13
 
14
- {% capture img_cap %}
15
- {{ page.header.caption | default: '' }}
14
+ {% capture page_image_caption %}
15
+ {{ page.image_caption | default: '' }}
16
16
  {% endcapture %}
17
17
  {% endif %}
18
18
 
@@ -28,12 +28,12 @@ layout: default
28
28
  <section class="container mt-3 blog-post">
29
29
  <div class="row">
30
30
  <div class="col-md-8 pb-3">
31
- {% if page.show_hero %}
31
+ {% if page.show_hero and page_image %}
32
32
  <!-- post hero -->
33
33
  <figure class="figure">
34
- <img class="img-fluid shadow-sm rounded mb-2 blog-post-hero-img" src="{{ header_img | strip }}"
35
- alt="{{ h_img_alt | strip }}">
36
- <figcaption class="figure-caption text-center">{{ img_cap | strip }}</figcaption>
34
+ <img class="img-fluid shadow-sm rounded mb-2 blog-post-hero-img" src="{{ page_image | strip }}"
35
+ alt="{{ page_image_alt | strip }}">
36
+ <figcaption class="figure-caption text-center">{{ page_image_caption | strip }}</figcaption>
37
37
  </figure>
38
38
  {% endif %}
39
39
  <!-- post title -->
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * lone-wolf-theme v1.1.1 by Mani Kumar for Jekyll.
2
+ * lone-wolf-theme v1.2.0 by Mani Kumar for Jekyll.
3
3
  * https://manid2.github.io/lone-wolf-theme/
4
4
  * @manid2
5
5
  * Licensed under MIT
6
- * Copyright Mani Kumar, 2020
6
+ * Copyright Mani Kumar, 2021
7
7
  */
8
8
  $(document).ready(function(){function n(){$(".page-content").css("padding-bottom",$(".page-footer").outerHeight(!0))}var t=!1;n(),$(window).resize(function(){t=!0}),setInterval(function(){t&&(t=!1,n())},250)});
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lone-wolf-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mani Kumar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-22 00:00:00.000000000 Z
11
+ date: 2021-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll