fenton-jekyll-boilerplate 0.0.1 → 0.0.2
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/favicon.ico +0 -0
- data/robots.txt +5 -0
- data/search.json +4 -6
- metadata +3 -6
- data/articles/index.html +0 -70
- data/feed/atom.xml +0 -39
- data/sitemap/authors.xml +0 -15
- data/sitemap/pages.xml +0 -15
- data/sitemap/posts.xml +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a8dc279ce1e3d98f2fdf3bcad5aff9c84172f9d3da6e261c79cec26e060adb1
|
4
|
+
data.tar.gz: 1bb9d2da45641b6dd7be6229b35b5f28aa0fe6a4091abebd1d14952451d4fd1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 939ffe81c144968c6f32190e8edcf18dfcac629b22fe290c8a5705dfa26632b97bd846d4901e9e855f8e27181f35b214cbfddba0b5cec8b8189d9aa128dfddd1
|
7
|
+
data.tar.gz: 8d813c139be5a500b369fbbc577e4fa165971c8c0fc59016f23c96c3e1418b7072fc08d7dcaecf00ff769e1077bd658593e45908686c758ae87ebf3f0f44b9b5
|
data/favicon.ico
ADDED
Binary file
|
data/robots.txt
ADDED
data/search.json
CHANGED
@@ -11,20 +11,18 @@ layout: null
|
|
11
11
|
"tags" : "{{ page.tags | join: ' ' }} {{page.keywords}}",
|
12
12
|
"url" : "{{ site.baseurl }}{{ page.url }}",
|
13
13
|
"date" : "{{ page.date }}"
|
14
|
-
}
|
15
|
-
|
16
|
-
{%- if authors.size > 0 %},{% endif %}
|
14
|
+
}{%- unless forloop.last %},{% endunless %}
|
17
15
|
{%- endfor %}
|
16
|
+
{%- if authors.size > 0 %},{% endif %}
|
18
17
|
{%- for author in authors %}{
|
19
18
|
"title" : "{{ author.name | escape }}",
|
20
19
|
"category" : "{{ author.category }}",
|
21
20
|
"tags" : "{{ page.tags | join: ' ' }} {{page.keywords}}",
|
22
21
|
"url" : "{{ site.baseurl }}{{ author.url }}",
|
23
22
|
"date" : "{{ author.date }}"
|
24
|
-
}
|
25
|
-
|
26
|
-
{%- if posts.size > 0 %},{% endif %}
|
23
|
+
}{%- unless forloop.last %},{% endunless %}
|
27
24
|
{%- endfor %}
|
25
|
+
{%- if posts.size > 0 %},{% endif %}
|
28
26
|
{%- for post in posts %}{
|
29
27
|
"title" : "{{ post.title | escape }}",
|
30
28
|
"category" : "{{ post.category }}",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Fenton
|
@@ -70,7 +70,6 @@ files:
|
|
70
70
|
- _plugins/liquid_regex.rb
|
71
71
|
- _plugins/markdown.rb
|
72
72
|
- _plugins/paging.rb
|
73
|
-
- articles/index.html
|
74
73
|
- assets/css/code.css
|
75
74
|
- assets/css/main.css
|
76
75
|
- assets/css/vars.css
|
@@ -98,12 +97,10 @@ files:
|
|
98
97
|
- assets/js/modules/string.js
|
99
98
|
- assets/js/search.js
|
100
99
|
- assets/svg/down.svg
|
101
|
-
-
|
100
|
+
- favicon.ico
|
101
|
+
- robots.txt
|
102
102
|
- search.json
|
103
103
|
- sitemap.xml
|
104
|
-
- sitemap/authors.xml
|
105
|
-
- sitemap/pages.xml
|
106
|
-
- sitemap/posts.xml
|
107
104
|
homepage: https://jekyll.stevefenton.co.uk/
|
108
105
|
licenses:
|
109
106
|
- Apache-2.0
|
data/articles/index.html
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Articles
|
4
|
-
date: 2022-09-06
|
5
|
-
authors: steve-fenton
|
6
|
-
description: Articles about Jekyll Boilerplate.
|
7
|
-
nav-title: Articles
|
8
|
-
nav-level: 1
|
9
|
-
nav-order: 3000
|
10
|
-
published: true
|
11
|
-
nav-sitemap: true
|
12
|
-
nav-search: true
|
13
|
-
# Don't use permalink on list pages
|
14
|
-
---
|
15
|
-
<main id="site-main">
|
16
|
-
<h1>{{ 'articles' | t: 'title' }}</h1>
|
17
|
-
{%- if site.paginate %}
|
18
|
-
{% assign posts = paginator.posts %}
|
19
|
-
{% else %}
|
20
|
-
{% assign posts = site.posts %}
|
21
|
-
{% endif %}
|
22
|
-
{%- if posts.size > 0 -%}
|
23
|
-
<ul class="post-list">
|
24
|
-
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
25
|
-
{%- for post in posts -%}
|
26
|
-
<li class="list-item" data-destination="{{ post.url | relative_url }}">
|
27
|
-
{%- if post.banner-image -%}
|
28
|
-
<img src="{{ post.banner-image }}" alt="{{ post.banner-image-alt }}" {% unless forloop.first %}loading="lazy"{% endunless %} />
|
29
|
-
{%- endif -%}
|
30
|
-
<div class="list-item-content">
|
31
|
-
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
32
|
-
<h2>
|
33
|
-
<a href="{{ post.url | relative_url }}">
|
34
|
-
{{ post.title | escape }}
|
35
|
-
</a>
|
36
|
-
</h2>
|
37
|
-
{%- if site.show_excerpts -%}
|
38
|
-
{{ post.excerpt | default: post.description }}
|
39
|
-
{%- endif -%}
|
40
|
-
</div>
|
41
|
-
</li>
|
42
|
-
{%- endfor -%}
|
43
|
-
</ul>
|
44
|
-
|
45
|
-
{% if paginator.total_pages > 1 %}
|
46
|
-
<div class="post-paging">
|
47
|
-
{% if paginator.previous_page %}
|
48
|
-
<a href="{{ paginator.previous_page_path | relative_url }}">« {{ 'articles' | t: 'previous' }}</a>
|
49
|
-
{% else %}
|
50
|
-
<span>« {{ 'articles' | t: 'previous' }}</span>
|
51
|
-
{% endif %}
|
52
|
-
|
53
|
-
{% for page in (1..paginator.total_pages) %}
|
54
|
-
{% if page == paginator.page %}
|
55
|
-
<em>{{ page }}</em>
|
56
|
-
{% else %}
|
57
|
-
{% assign page_one_link = '/' | append: site.paginate_page | append: '1' | append: '/' %}
|
58
|
-
<a href="{{ site.paginate_path | relative_url | replace: ':num', page | replace: page_one_link, '/' }}">{{ page }}</a>
|
59
|
-
{% endif %}
|
60
|
-
{% endfor %}
|
61
|
-
|
62
|
-
{% if paginator.next_page %}
|
63
|
-
<a href="{{ paginator.next_page_path | relative_url }}">{{ 'articles' | t: 'next' }} »</a>
|
64
|
-
{% else %}
|
65
|
-
<span>{{ 'articles' | t: 'next' }} »</span>
|
66
|
-
{% endif %}
|
67
|
-
</div>
|
68
|
-
{% endif %}
|
69
|
-
{%- endif -%}
|
70
|
-
</main>
|
data/feed/atom.xml
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: null
|
3
|
-
---
|
4
|
-
<?xml version="1.0" encoding="utf-8"?>
|
5
|
-
<feed xmlns="http://www.w3.org/2005/Atom">
|
6
|
-
<title>{{ site.title }}</title>
|
7
|
-
<subtitle>{{ site.description }}</subtitle>
|
8
|
-
<link href="{{ site.url }}{{ '/feed/atom.xml' | prepend: site.baseurl}}" rel="self" />
|
9
|
-
<link href="{{ site.url }}" />
|
10
|
-
<id>{{ site.url }}{{ '/feed/atom.xml' | prepend: site.baseurl}}</id>
|
11
|
-
|
12
|
-
{%- for post in site.posts limit:1 %}
|
13
|
-
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
14
|
-
{%- endfor %}
|
15
|
-
|
16
|
-
{%- for post in site.posts limit:20 %}
|
17
|
-
<entry>
|
18
|
-
<title>{{ post.title }}</title>
|
19
|
-
<link href="{{site.url}}{{ post.url | prepend: site.baseurl }}" />
|
20
|
-
<id>{{ post.url | prepend: site.url }}</id>
|
21
|
-
<published>{{ post.date | date_to_xmlschema }}</published>
|
22
|
-
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
23
|
-
<summary>{{ post.excerpt | default: post.description }}</summary>
|
24
|
-
<author>
|
25
|
-
{%- assign authordata = '' | split:'@' %}
|
26
|
-
{%- for author in site.authors %}
|
27
|
-
{%- if post.authors contains author.username or author.username == post.authors %}
|
28
|
-
{%- capture data %}
|
29
|
-
<name>{{ author.name }}</name>
|
30
|
-
<email>{{ author.email }}</email>
|
31
|
-
{%- endcapture %}
|
32
|
-
{%- assign authordata = authordata | push: data %}
|
33
|
-
{%- endif %}
|
34
|
-
{%- endfor %}
|
35
|
-
{{- authordata | array_to_sentence_string }}
|
36
|
-
</author>
|
37
|
-
</entry>
|
38
|
-
{%- endfor %}
|
39
|
-
</feed>
|
data/sitemap/authors.xml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: null
|
3
|
-
---
|
4
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
5
|
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
6
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
7
|
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
8
|
-
http://www.sitemaps.org/schemas/sitemap/0.9.xsd">
|
9
|
-
{%- assign authors = site.authors | where: 'nav-sitemap','true' %}
|
10
|
-
{%- for author in authors %} <url>
|
11
|
-
<loc>{{ site.url }}{{ author.url }}</loc>
|
12
|
-
<lastmod>{{ author.date }}</lastmod>
|
13
|
-
</url>
|
14
|
-
{%- endfor %}
|
15
|
-
</urlset>
|
data/sitemap/pages.xml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: null
|
3
|
-
---
|
4
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
5
|
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
6
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
7
|
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
8
|
-
http://www.sitemaps.org/schemas/sitemap/0.9.xsd">
|
9
|
-
{%- assign pages = site.pages | where: 'nav-sitemap','true' %}
|
10
|
-
{% for page in pages %} <url>
|
11
|
-
<loc>{{ site.url }}{{ page.url }}</loc>
|
12
|
-
<lastmod>{{ page.date }}</lastmod>
|
13
|
-
</url>
|
14
|
-
{% endfor %}
|
15
|
-
</urlset>
|
data/sitemap/posts.xml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: null
|
3
|
-
---
|
4
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
5
|
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
6
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
7
|
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
8
|
-
http://www.sitemaps.org/schemas/sitemap/0.9.xsd">
|
9
|
-
{%- assign posts = site.posts | where: 'nav-sitemap','true' %}
|
10
|
-
{%- for post in posts %} <url>
|
11
|
-
<loc>{{ site.url }}{{ post.url }}</loc>
|
12
|
-
<lastmod>{{ post.date }}</lastmod>
|
13
|
-
</url>
|
14
|
-
{%- endfor %}
|
15
|
-
</urlset>
|