fenton-jekyll-boilerplate 0.0.6 → 0.0.7
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/assets/search/search.json +37 -0
- data/assets/search/search.md +14 -0
- data/assets/sitemap/atom.xml +40 -0
- data/assets/sitemap/authors.xml +16 -0
- data/assets/sitemap/pages.xml +16 -0
- data/assets/sitemap/posts.xml +16 -0
- data/assets/sitemap/robots.txt +6 -0
- data/assets/sitemap/sitemap.xml +16 -0
- metadata +9 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8e442219c50bdaef587a50cf805c76c25499598d69a8014a81550e8f4e002f6
|
4
|
+
data.tar.gz: d8419f11a57902d869f8ea687f02c36251d2601e342c9aebf4d7eb139eda275f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d2d107d2bf0ba4fb4ddb1e50c58b2956f9ec24a73b991fbbae4385cd3a70d030f89655871ddd559b0252289946881376dce107987cf18383664b34190301e70
|
7
|
+
data.tar.gz: 9d62306537606cb0d835687a2f03df8b79c046edc4d9ddd9ba443d02cef8193ecf15bce9e66bc1bb31a012687ee57f4fad811380a4ed5e67c71a57b6dc9baa9b
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
permalink: /search.json
|
4
|
+
---
|
5
|
+
{%- assign pages = site.pages | where: 'nav-search', 'true' %}
|
6
|
+
{%- assign posts = site.posts | where: 'nav-search', 'true' %}
|
7
|
+
{%- assign authors = site.authors | where: 'nav-search', 'true' %}
|
8
|
+
[
|
9
|
+
{% for page in pages %}{
|
10
|
+
"title" : "{{ page.title | escape }}",
|
11
|
+
"category" : "{{ page.category }}",
|
12
|
+
"tags" : "{{ page.tags | join: ' ' }} {{page.keywords}}",
|
13
|
+
"url" : "{{ site.baseurl }}{{ page.url }}",
|
14
|
+
"date" : "{{ page.date }}"
|
15
|
+
}{%- unless forloop.last %},{% endunless %}
|
16
|
+
{%- endfor %}
|
17
|
+
{%- if authors.size > 0 %},{% endif %}
|
18
|
+
{%- for author in authors %}{
|
19
|
+
"title" : "{{ author.name | escape }}",
|
20
|
+
"category" : "{{ author.category }}",
|
21
|
+
"tags" : "{{ page.tags | join: ' ' }} {{page.keywords}}",
|
22
|
+
"url" : "{{ site.baseurl }}{{ author.url }}",
|
23
|
+
"date" : "{{ author.date }}"
|
24
|
+
}{%- unless forloop.last %},{% endunless %}
|
25
|
+
{%- endfor %}
|
26
|
+
{%- if posts.size > 0 %},{% endif %}
|
27
|
+
{%- for post in posts %}{
|
28
|
+
"title" : "{{ post.title | escape }}",
|
29
|
+
"category" : "{{ post.category }}",
|
30
|
+
"tags" : "{{ page.tags | join: ' ' }} {{page.keywords}}",
|
31
|
+
"url" : "{{ site.baseurl }}{{ post.url }}",
|
32
|
+
"date" : "{{ post.date }}"
|
33
|
+
}
|
34
|
+
{%- unless forloop.last %},{% endunless %}
|
35
|
+
{%- endfor %}
|
36
|
+
]
|
37
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
layout: search
|
3
|
+
title: Search
|
4
|
+
permalink: /search/
|
5
|
+
date: 2022-09-06
|
6
|
+
authors: steve-fenton
|
7
|
+
description: Search the website.
|
8
|
+
nav-title: Search
|
9
|
+
nav-level: 0
|
10
|
+
nav-order: 0
|
11
|
+
published: true
|
12
|
+
nav-sitemap: false
|
13
|
+
nav-search: false
|
14
|
+
---
|
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
permalink: /feed/
|
4
|
+
---
|
5
|
+
<?xml version="1.0" encoding="utf-8"?>
|
6
|
+
<feed xmlns="http://www.w3.org/2005/Atom">
|
7
|
+
<title>{{ site.title }}</title>
|
8
|
+
<subtitle>{{ site.description }}</subtitle>
|
9
|
+
<link href="{{ site.url }}{{ '/feed/atom.xml' | prepend: site.baseurl}}" rel="self" />
|
10
|
+
<link href="{{ site.url }}" />
|
11
|
+
<id>{{ site.url }}{{ '/feed/atom.xml' | prepend: site.baseurl}}</id>
|
12
|
+
|
13
|
+
{%- for post in site.posts limit:1 %}
|
14
|
+
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
15
|
+
{%- endfor %}
|
16
|
+
|
17
|
+
{%- for post in site.posts limit:20 %}
|
18
|
+
<entry>
|
19
|
+
<title>{{ post.title }}</title>
|
20
|
+
<link href="{{site.url}}{{ post.url | prepend: site.baseurl }}" />
|
21
|
+
<id>{{ post.url | prepend: site.url }}</id>
|
22
|
+
<published>{{ post.date | date_to_xmlschema }}</published>
|
23
|
+
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
24
|
+
<summary>{{ post.excerpt | default: post.description }}</summary>
|
25
|
+
<author>
|
26
|
+
{%- assign authordata = '' | split:'@' %}
|
27
|
+
{%- for author in site.authors %}
|
28
|
+
{%- if post.authors contains author.username or author.username == post.authors %}
|
29
|
+
{%- capture data %}
|
30
|
+
<name>{{ author.name }}</name>
|
31
|
+
<email>{{ author.email }}</email>
|
32
|
+
{%- endcapture %}
|
33
|
+
{%- assign authordata = authordata | push: data %}
|
34
|
+
{%- endif %}
|
35
|
+
{%- endfor %}
|
36
|
+
{{- authordata | array_to_sentence_string }}
|
37
|
+
</author>
|
38
|
+
</entry>
|
39
|
+
{%- endfor %}
|
40
|
+
</feed>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
permalink: /sitemap/authors.xml
|
4
|
+
---
|
5
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
6
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
8
|
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
9
|
+
http://www.sitemaps.org/schemas/sitemap/0.9.xsd">
|
10
|
+
{%- assign authors = site.authors | where: 'nav-sitemap','true' %}
|
11
|
+
{%- for author in authors %} <url>
|
12
|
+
<loc>{{ site.url }}{{ author.url }}</loc>
|
13
|
+
<lastmod>{{ author.date }}</lastmod>
|
14
|
+
</url>
|
15
|
+
{%- endfor %}
|
16
|
+
</urlset>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
permalink: /sitemap/pages.xml
|
4
|
+
---
|
5
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
6
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
8
|
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
9
|
+
http://www.sitemaps.org/schemas/sitemap/0.9.xsd">
|
10
|
+
{%- assign pages = site.pages | where: 'nav-sitemap','true' %}
|
11
|
+
{% for page in pages %} <url>
|
12
|
+
<loc>{{ site.url }}{{ page.url }}</loc>
|
13
|
+
<lastmod>{{ page.date }}</lastmod>
|
14
|
+
</url>
|
15
|
+
{% endfor %}
|
16
|
+
</urlset>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
permalink: /sitemap/posts.xml
|
4
|
+
---
|
5
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
6
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
7
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
8
|
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
9
|
+
http://www.sitemaps.org/schemas/sitemap/0.9.xsd">
|
10
|
+
{%- assign posts = site.posts | where: 'nav-sitemap','true' %}
|
11
|
+
{%- for post in posts %} <url>
|
12
|
+
<loc>{{ site.url }}{{ post.url }}</loc>
|
13
|
+
<lastmod>{{ post.date }}</lastmod>
|
14
|
+
</url>
|
15
|
+
{%- endfor %}
|
16
|
+
</urlset>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
permalink: /sitemap.xml
|
4
|
+
---
|
5
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
6
|
+
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
7
|
+
<sitemap>
|
8
|
+
<loc>{{ site.url }}{{ '/sitemap/pages.xml' | prepend: site.baseurl }}</loc>
|
9
|
+
</sitemap>
|
10
|
+
<sitemap>
|
11
|
+
<loc>{{ site.url }}{{ '/sitemap/posts.xml' | prepend: site.baseurl }}</loc>
|
12
|
+
</sitemap>
|
13
|
+
<sitemap>
|
14
|
+
<loc>{{ site.url }}{{ '/sitemap/authors.xml' | prepend: site.baseurl }}</loc>
|
15
|
+
</sitemap>
|
16
|
+
</sitemapindex>
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Fenton
|
@@ -82,6 +82,14 @@ files:
|
|
82
82
|
- assets/js/modules/resizing.js
|
83
83
|
- assets/js/modules/string.js
|
84
84
|
- assets/js/search.js
|
85
|
+
- assets/search/search.json
|
86
|
+
- assets/search/search.md
|
87
|
+
- assets/sitemap/atom.xml
|
88
|
+
- assets/sitemap/authors.xml
|
89
|
+
- assets/sitemap/pages.xml
|
90
|
+
- assets/sitemap/posts.xml
|
91
|
+
- assets/sitemap/robots.txt
|
92
|
+
- assets/sitemap/sitemap.xml
|
85
93
|
homepage: https://jekyll.stevefenton.co.uk/
|
86
94
|
licenses:
|
87
95
|
- Apache-2.0
|