jekyll-theme-endless 0.0.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3fc6d305b2f5ff3724dff928fae949ca95e341c356f1ce22d5003a3e33fed551
4
+ data.tar.gz: e71008ea3edf22f32ec5dc5ab9bbf211deea49ef36b17382f7e8696373f8dcf0
5
+ SHA512:
6
+ metadata.gz: 0cc3fd6bd4801bfde9245d5b775031bd03b856e997c781ea8fcb381068d6318a53cf84a97452f1cca22a4149348c7dae813e226517e0881cd74682b8ecd4e655
7
+ data.tar.gz: 178a5d81c584495fe5349f399444290e74dc94ab2e6055982a7dc1cb36903654135fa3e10c3235126810c0724a444bd42923e818ecff01ffe5ec92372d5af62e
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Sven Boekhoff
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,93 @@
1
+ = jekyll-theme-endless
2
+
3
+ == Installation
4
+
5
+ Add this line to your Jekyll site's `Gemfile`:
6
+
7
+ [source,ruby]
8
+ ----
9
+ gem "jekyll-theme-endless"
10
+ ----
11
+
12
+ And add this line to your Jekyll site's `_config.yml`:
13
+
14
+ [source,yaml]
15
+ ----
16
+ theme: jekyll-theme-endless
17
+ ----
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install jekyll-theme-endless
26
+
27
+ == Usage
28
+
29
+ Here I describe available layouts, includes, sass and/or assets here.
30
+
31
+ === Layouts
32
+
33
+ `_layouts/html.html`::
34
+ HTML boilerplate code used for all layouts.
35
+
36
+ `_layouts/default.html`::
37
+ Default website structure (menue, tag cloud, ...) used for pages and posts.
38
+
39
+ `_layouts/page.html`::
40
+ Layout of page-content.
41
+
42
+ `_layouts/page-postlist.html`::
43
+ Layout of page-content with a list of blog posts at the end.
44
+
45
+ `_layouts/post.html`::
46
+ Layout of blog-posts.
47
+
48
+
49
+ === Includes
50
+
51
+ `_includes/function_list-pages.html`::
52
+ Generates the code containing links to each page.
53
+ The text of the link is the title of the page.
54
+
55
+ `_includes/function_list-posts.html`::
56
+ Generates the code containing links to each blog-post.
57
+ The text of the link is the title of the post.
58
+
59
+
60
+ === Styles
61
+
62
+ In order to contribute SCSS-code, simply add a file `_sass/user.scss`, containing your SCCS-code.
63
+ This file is included by `assets/css/main.scss`.
64
+
65
+
66
+
67
+ == Contributing
68
+
69
+ Bug reports and pull requests are welcome on GitHub at https://gitlab.com/jekyll-theme-endless/jekyll-theme-endless.gitlab.io.
70
+ This project is intended to be a safe, welcoming space for collaboration,
71
+ and contributors are expected to adhere to the http://contributor-covenant.org[Contributor Covenant] code of conduct.
72
+
73
+ == Development
74
+
75
+ To set up your environment to develop this theme:
76
+
77
+ . clone this repository
78
+ . run `bundle install`
79
+
80
+ Your theme is setup just like a normal Jekyll site!
81
+ To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`.
82
+ This starts a Jekyll server using your theme.
83
+ Add pages, documents, data, etc. like normal to test your theme's contents.
84
+ As you make modifications to your theme and to your content, your site will regenerate and
85
+ you should see the changes in the browser after a refresh, just like normal.
86
+
87
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
88
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-endless.gemspec` accordingly.
89
+
90
+ == License
91
+
92
+ The theme is available as open source under the terms of the https://opensource.org/licenses/MIT[MIT License].
93
+
@@ -0,0 +1,59 @@
1
+ # Welcome to Jekyll!
2
+ #
3
+ # This config file is meant for settings that affect your whole blog, values
4
+ # which you are expected to set up once and rarely edit after that. If you find
5
+ # yourself editing this file very often, consider using Jekyll's data files
6
+ # feature for the data you need to update frequently.
7
+ #
8
+ # For technical reasons, this file is *NOT* reloaded automatically when you use
9
+ # 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10
+ #
11
+ # If you need help with YAML syntax, here are some quick references for you:
12
+ # https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13
+ # https://learnxinyminutes.com/docs/yaml/
14
+ #
15
+ # Site settings
16
+ # These are used to personalize your new site. If you look in the HTML files,
17
+ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18
+ # You can create any custom variable you would like, and they will be accessible
19
+ # in the templates via {{ site.myvariable }}.
20
+
21
+ title: Your awesome title
22
+ email: your-email@example.com
23
+ description: >- # this means to ignore newlines until "baseurl:"
24
+ Write an awesome description for your new site here. You can edit this
25
+ line in _config.yml. It will appear in your document head meta (for
26
+ Google search results) and in your feed.xml site description.
27
+ baseurl: "" # the subpath of your site, e.g. /blog
28
+ url: "" # the base hostname & protocol for your site, e.g. http://example.com
29
+ #twitter_username: jekyllrb
30
+ #github_username: jekyll
31
+
32
+ # Build settings
33
+ #theme: minima
34
+ #plugins:
35
+ # - jekyll-feed
36
+
37
+ # Exclude from processing.
38
+ # The following items will not be processed, by default.
39
+ # Any item listed under the `exclude:` key here will be automatically added to
40
+ # the internal "default list".
41
+ #
42
+ # Excluded items can be processed by explicitly listing the directories or
43
+ # their entries' file path in the `include:` list.
44
+ #
45
+ exclude:
46
+ - '*.gemspec'
47
+ - LICENSE.txt
48
+ - README.adoc
49
+ # - .sass-cache/
50
+ # - .jekyll-cache/
51
+ # - gemfiles/
52
+ # - Gemfile
53
+ # - Gemfile.lock
54
+ # - node_modules/
55
+ # - vendor/bundle/
56
+ # - vendor/cache/
57
+ # - vendor/gems/
58
+ # - vendor/ruby/
59
+
@@ -0,0 +1,13 @@
1
+ {% comment %}
2
+ List of pages that were processed to HTML.
3
+ Used for the pages menu.
4
+ {% endcomment %}
5
+ <ul>
6
+ {% for current_page in site.html_pages %}
7
+ <li>
8
+ <a href="{{ current_page.url }}">{{ current_page.title }}</a>
9
+ </li>
10
+ {% endfor %}
11
+ </ul>
12
+
13
+
@@ -0,0 +1,13 @@
1
+ {% comment %}
2
+ List of blog-posts.
3
+ {% endcomment %}
4
+
5
+ <ul>
6
+ {% for current_post in site.posts %}
7
+ <li>
8
+ <a href="{{ current_post.url }}">{{ current_post.title }}</a>
9
+ </li>
10
+ {% endfor %}
11
+ </ul>
12
+
13
+
@@ -0,0 +1,8 @@
1
+ ---
2
+ # Contains the default layout with menu, etc.
3
+ layout: html
4
+ ---
5
+
6
+ {% include function_list-pages.html %}
7
+
8
+ {{ content }}
@@ -0,0 +1,19 @@
1
+ ---
2
+ # Contains all the HTML boilerplate code.
3
+ # Used for the default website layout (with menu, etc.), as well as the 404-Page.
4
+ ---
5
+ <!DOCTYPE html>
6
+ <html lang="en" dir="ltr">
7
+ <head>
8
+ <meta charset="utf-8">
9
+ <title>
10
+ {{ page.title }}
11
+ </title>
12
+ <link rel="stylesheet" href="/assets/css/main.css">
13
+ </head>
14
+ <body>
15
+
16
+ {{ content }}
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,9 @@
1
+ ---
2
+ # Regular page with list of blog posts attached to the end of the content.
3
+ layout: page
4
+ ---
5
+ {{ content }}
6
+
7
+ {% include function_list-posts.html %}
8
+
9
+
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+
6
+ {{ content }}
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+
6
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Replaced by SCSS-file from the user.
3
+ */
4
+
5
+
@@ -0,0 +1,10 @@
1
+ /*
2
+ Simple SCSS-file.
3
+ */
4
+ $bg: #fff;
5
+
6
+ body {
7
+ background-color: $bg;
8
+ }
9
+
10
+
@@ -0,0 +1,17 @@
1
+ ---
2
+ # The frontmatter ensures that Jekyll reads the file and transforms it to CSS.
3
+ # Only main files contain this front matter, not partials that are placed in _scss.
4
+ ---
5
+
6
+ /*
7
+ * imports _scss/background.scss
8
+ */
9
+ @import "background";
10
+
11
+ /*
12
+ * import SCSS-Code contributed by the user of the theme.
13
+ * imports from _scss/background.scss
14
+ */
15
+ @import "user";
16
+
17
+
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-endless
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - ''
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-10-17 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: '4.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.1'
27
+ description:
28
+ email:
29
+ - ''
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.adoc
36
+ - _config.yml
37
+ - _includes/function_list-pages.html
38
+ - _includes/function_list-posts.html
39
+ - _layouts/default.html
40
+ - _layouts/html.html
41
+ - _layouts/page-postlist.html
42
+ - _layouts/page.html
43
+ - _layouts/post.html
44
+ - _sass/background.scss
45
+ - _sass/user.scss
46
+ - assets/css/main.scss
47
+ homepage: https://jekyll-theme-endless.gitlab.io
48
+ licenses:
49
+ - MIT
50
+ metadata: {}
51
+ post_install_message:
52
+ rdoc_options: []
53
+ require_paths:
54
+ - lib
55
+ required_ruby_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ requirements: []
66
+ rubygems_version: 3.1.2
67
+ signing_key:
68
+ specification_version: 4
69
+ summary: A Jekyll theme that was started from scratch.
70
+ test_files: []