fenton-jekyll-boilerplate 0.0.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.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +201 -0
  3. data/README.md +31 -0
  4. data/_authors/steve-fenton.md +21 -0
  5. data/_data/language.yaml +49 -0
  6. data/_includes/analytics.html +3 -0
  7. data/_includes/breadcrumbs.html +19 -0
  8. data/_includes/footer.html +3 -0
  9. data/_includes/head.html +27 -0
  10. data/_includes/header.html +18 -0
  11. data/_includes/javascripts.html +1 -0
  12. data/_includes/navigation.html +36 -0
  13. data/_includes/skiplinks.html +5 -0
  14. data/_layouts/author.html +39 -0
  15. data/_layouts/default.html +15 -0
  16. data/_layouts/page.html +11 -0
  17. data/_layouts/post.html +37 -0
  18. data/_layouts/search.html +24 -0
  19. data/_plugins/breadcrumbs/breadcrumb_item.rb +29 -0
  20. data/_plugins/breadcrumbs.rb +82 -0
  21. data/_plugins/jekyll-paginate/pager.rb +141 -0
  22. data/_plugins/jekyll-paginate/pagination.rb +85 -0
  23. data/_plugins/liquid_language.rb +38 -0
  24. data/_plugins/liquid_regex.rb +17 -0
  25. data/_plugins/markdown.rb +17 -0
  26. data/_plugins/paging.rb +7 -0
  27. data/articles/index.html +70 -0
  28. data/assets/css/code.css +188 -0
  29. data/assets/css/main.css +552 -0
  30. data/assets/css/vars.css +81 -0
  31. data/assets/icons/android-chrome-192x192.png +0 -0
  32. data/assets/icons/android-chrome-512x512.png +0 -0
  33. data/assets/icons/apple-touch-icon.png +0 -0
  34. data/assets/icons/favicon-16x16.png +0 -0
  35. data/assets/icons/favicon-32x32.png +0 -0
  36. data/assets/icons/favicon.ico +0 -0
  37. data/assets/img/2022/09/surface-accessories-700.webp +0 -0
  38. data/assets/img/2022/09/surface-accessories.webp +0 -0
  39. data/assets/img/authors/steve-fenton.webp +0 -0
  40. data/assets/img/jekyll-and-hyde.webp +0 -0
  41. data/assets/img/lighthouse-scores.webp +0 -0
  42. data/assets/js/main.js +18 -0
  43. data/assets/js/modules/animation.js +41 -0
  44. data/assets/js/modules/click-blocks.js +35 -0
  45. data/assets/js/modules/events.js +19 -0
  46. data/assets/js/modules/focus.js +76 -0
  47. data/assets/js/modules/nav-expand.js +51 -0
  48. data/assets/js/modules/nav-mobile.js +104 -0
  49. data/assets/js/modules/nav-sticky.js +54 -0
  50. data/assets/js/modules/query.js +42 -0
  51. data/assets/js/modules/resizing.js +43 -0
  52. data/assets/js/modules/string.js +49 -0
  53. data/assets/js/search.js +154 -0
  54. data/assets/svg/down.svg +38 -0
  55. data/feed/atom.xml +39 -0
  56. data/search.json +38 -0
  57. data/sitemap/authors.xml +15 -0
  58. data/sitemap/pages.xml +15 -0
  59. data/sitemap/posts.xml +15 -0
  60. data/sitemap.xml +15 -0
  61. metadata +130 -0
data/feed/atom.xml ADDED
@@ -0,0 +1,39 @@
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/search.json ADDED
@@ -0,0 +1,38 @@
1
+ ---
2
+ layout: null
3
+ ---
4
+ {% assign pages = site.pages | where: 'nav-search', 'true' %}
5
+ {% assign posts = site.posts | where: 'nav-search', 'true' %}
6
+ {% assign authors = site.authors | where: 'nav-search', 'true' %}
7
+ [
8
+ {% for page in pages %}{
9
+ "title" : "{{ page.title | escape }}",
10
+ "category" : "{{ page.category }}",
11
+ "tags" : "{{ page.tags | join: ' ' }} {{page.keywords}}",
12
+ "url" : "{{ site.baseurl }}{{ page.url }}",
13
+ "date" : "{{ page.date }}"
14
+ }
15
+
16
+ {%- if authors.size > 0 %},{% endif %}
17
+ {%- endfor %}
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
+ }
25
+
26
+ {%- if posts.size > 0 %},{% endif %}
27
+ {%- endfor %}
28
+ {%- for post in posts %}{
29
+ "title" : "{{ post.title | escape }}",
30
+ "category" : "{{ post.category }}",
31
+ "tags" : "{{ page.tags | join: ' ' }} {{page.keywords}}",
32
+ "url" : "{{ site.baseurl }}{{ post.url }}",
33
+ "date" : "{{ post.date }}"
34
+ }
35
+ {%- unless forloop.last %},{% endunless %}
36
+ {%- endfor %}
37
+ ]
38
+
@@ -0,0 +1,15 @@
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 ADDED
@@ -0,0 +1,15 @@
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 ADDED
@@ -0,0 +1,15 @@
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>
data/sitemap.xml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: null
3
+ ---
4
+ <?xml version="1.0" encoding="UTF-8"?>
5
+ <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
6
+ <sitemap>
7
+ <loc>{{ site.url }}{{ '/sitemap/pages.xml' | prepend: site.baseurl }}</loc>
8
+ </sitemap>
9
+ <sitemap>
10
+ <loc>{{ site.url }}{{ '/sitemap/posts.xml' | prepend: site.baseurl }}</loc>
11
+ </sitemap>
12
+ <sitemap>
13
+ <loc>{{ site.url }}{{ '/sitemap/authors.xml' | prepend: site.baseurl }}</loc>
14
+ </sitemap>
15
+ </sitemapindex>
metadata ADDED
@@ -0,0 +1,130 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fenton-jekyll-boilerplate
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Steve Fenton
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-09-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.12'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.12'
41
+ description: A lightweight all in one theme for Jekyll
42
+ email:
43
+ - rubygems@stevefenton.co.uk
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - LICENSE
49
+ - README.md
50
+ - _authors/steve-fenton.md
51
+ - _data/language.yaml
52
+ - _includes/analytics.html
53
+ - _includes/breadcrumbs.html
54
+ - _includes/footer.html
55
+ - _includes/head.html
56
+ - _includes/header.html
57
+ - _includes/javascripts.html
58
+ - _includes/navigation.html
59
+ - _includes/skiplinks.html
60
+ - _layouts/author.html
61
+ - _layouts/default.html
62
+ - _layouts/page.html
63
+ - _layouts/post.html
64
+ - _layouts/search.html
65
+ - _plugins/breadcrumbs.rb
66
+ - _plugins/breadcrumbs/breadcrumb_item.rb
67
+ - _plugins/jekyll-paginate/pager.rb
68
+ - _plugins/jekyll-paginate/pagination.rb
69
+ - _plugins/liquid_language.rb
70
+ - _plugins/liquid_regex.rb
71
+ - _plugins/markdown.rb
72
+ - _plugins/paging.rb
73
+ - articles/index.html
74
+ - assets/css/code.css
75
+ - assets/css/main.css
76
+ - assets/css/vars.css
77
+ - assets/icons/android-chrome-192x192.png
78
+ - assets/icons/android-chrome-512x512.png
79
+ - assets/icons/apple-touch-icon.png
80
+ - assets/icons/favicon-16x16.png
81
+ - assets/icons/favicon-32x32.png
82
+ - assets/icons/favicon.ico
83
+ - assets/img/2022/09/surface-accessories-700.webp
84
+ - assets/img/2022/09/surface-accessories.webp
85
+ - assets/img/authors/steve-fenton.webp
86
+ - assets/img/jekyll-and-hyde.webp
87
+ - assets/img/lighthouse-scores.webp
88
+ - assets/js/main.js
89
+ - assets/js/modules/animation.js
90
+ - assets/js/modules/click-blocks.js
91
+ - assets/js/modules/events.js
92
+ - assets/js/modules/focus.js
93
+ - assets/js/modules/nav-expand.js
94
+ - assets/js/modules/nav-mobile.js
95
+ - assets/js/modules/nav-sticky.js
96
+ - assets/js/modules/query.js
97
+ - assets/js/modules/resizing.js
98
+ - assets/js/modules/string.js
99
+ - assets/js/search.js
100
+ - assets/svg/down.svg
101
+ - feed/atom.xml
102
+ - search.json
103
+ - sitemap.xml
104
+ - sitemap/authors.xml
105
+ - sitemap/pages.xml
106
+ - sitemap/posts.xml
107
+ homepage: https://jekyll.stevefenton.co.uk/
108
+ licenses:
109
+ - Apache-2.0
110
+ metadata: {}
111
+ post_install_message:
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ requirements: []
126
+ rubygems_version: 3.3.7
127
+ signing_key:
128
+ specification_version: 4
129
+ summary: A lightweight all in one theme for Jekyll.
130
+ test_files: []