fenton-jekyll-boilerplate 0.0.13 → 0.0.14
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/_includes/head.html +3 -3
- data/_includes/navigation.html +2 -1
- data/_layouts/post.html +1 -1
- data/_layouts/search.html +3 -3
- data/assets/sitemap/robots.txt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 796e5046594287e61a04266f801d95941663ae0bd5e30949b3f60eeafbaaa6ee
|
4
|
+
data.tar.gz: c948a2e05d83425390dc3f51cb284f2ecd1b274d4273d78d6d83c687ddc91373
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5be494b5120efc317a8cef43887dcbc196293ad4a5ef0f3405338f930482b3687599f7d0035055e90d4eb3002e5384b694356bb71956287b43207aeae465b89
|
7
|
+
data.tar.gz: 9d65a265d19dc33f7f92d803b9513134231dea45201680617c05cba408e48ff92dc2bfaa327cde139c06018ff066b0856ca3f50ddd193b1cf0c6e288f25faad2
|
data/_includes/head.html
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
<meta name="description" content="{{ page.description }}">
|
6
6
|
<meta name="keywords" content="{{ page.keywords }}">
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
-
<meta name="theme-color" content="#{{ site.theme_color_hex }}" />
|
9
|
-
<meta name="msapplication-navbutton-color" content="#{{site.theme_color_hex}}" />
|
10
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="#{{site.theme_color_hex}}" />
|
8
|
+
<meta name="theme-color" content="#{{ site.theme_color_hex | default: 333333 }}" />
|
9
|
+
<meta name="msapplication-navbutton-color" content="#{{ site.theme_color_hex | default: 333333 }}" />
|
10
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="#{{ site.theme_color_hex | default: 333333 }}" />
|
11
11
|
<meta property="og:title" content="{{ page.title }}" />
|
12
12
|
<meta property="og:url" content="{{ site.url }}{{ site.baseurl }}{{ page.url | replace:'index.html',''}}" />
|
13
13
|
<meta property="og:type" content="website" />
|
data/_includes/navigation.html
CHANGED
@@ -36,7 +36,8 @@
|
|
36
36
|
<li>
|
37
37
|
<a href="{{ item_url }}"{% if item_url == current_url) %} class="current-item" aria-current="page"{% endif %}>{{ item.nav-title | default: item.title }}</a>
|
38
38
|
</li>
|
39
|
-
{%-
|
39
|
+
{%- assign sub_pages_sorted = sub_pages | sort: 'nav-order' %}
|
40
|
+
{%- for child in sub_pages_sorted %}
|
40
41
|
<li>
|
41
42
|
<a href="{{ child.url | prepend: site.baseurl }}"{% if child.url == current_url) %} class="current-item" aria-current="page"{% endif %}>{{ child.nav-title | default: child.title }}</a>
|
42
43
|
</li>
|
data/_layouts/post.html
CHANGED
@@ -7,7 +7,7 @@ layout: default
|
|
7
7
|
<h1>{{ page.title }}</h1>
|
8
8
|
</header>
|
9
9
|
<div class="post-meta">
|
10
|
-
{%- assign date_format = site.date_format | default:
|
10
|
+
{%- assign date_format = site.date_format | default: '%b %-d, %Y' -%}
|
11
11
|
{%- assign authordata = '' | split:'@' %}
|
12
12
|
{%- for author in site.authors %}
|
13
13
|
{%- if page.authors contains author.username or author.username == page.authors %}
|
data/_layouts/search.html
CHANGED
@@ -7,12 +7,12 @@ layout: default
|
|
7
7
|
</header>
|
8
8
|
<div>
|
9
9
|
{{ content }}
|
10
|
-
<form method="GET" action="{{ site.search_fallback_url }}" role="search" id="site-search" class="site-search note" autocomplete="off">
|
10
|
+
<form method="GET" action="{{ site.search_fallback_url | default: 'https://www.google.com/search' }}" role="search" id="site-search" class="site-search note" autocomplete="off">
|
11
11
|
<fieldset>
|
12
|
-
<input type="hidden" name="{{ site.search_fallback_site }}" value="{{ site.url | prepend: 'site:' }}" />
|
12
|
+
<input type="hidden" name="{{ site.search_fallback_site | default: 'q' }}" value="{{ site.url | prepend: 'site:' }}" />
|
13
13
|
<div>
|
14
14
|
<label for="site-search-query">{{ 'search' | t: 'search_for' }}</label>
|
15
|
-
<input type="text" name="{{ site.search_fallback_query }}" id="site-search-query" autofocus="autofocus" />
|
15
|
+
<input type="text" name="{{ site.search_fallback_query | default: 'q' }}" id="site-search-query" autofocus="autofocus" />
|
16
16
|
<button id="site-search-button" type="submit">{{ 'search' | t: 'submit' }}</button>
|
17
17
|
</div>
|
18
18
|
</fieldset>
|
data/assets/sitemap/robots.txt
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fenton-jekyll-boilerplate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Fenton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|