lucidus 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fdab95a42f6e7836ec2ba009f36c5f2dad8ec61b881ce0b08ee4609cf9aa54b0
4
+ data.tar.gz: 8a445d64587c23f7f09ed85015015e623210ecd635a557f4e33bb7befd4a0cb1
5
+ SHA512:
6
+ metadata.gz: 1985c890cd7d8b9cb7dd292645eaec118beb22e21124c4390147ff13cb38241e76bbbc3dc7a3779966eb341ed572d690ae81b87fd9bfa5104d853aff6f3b6092
7
+ data.tar.gz: df6caa7bb3ded7bd1da7e352976e17e24f9db187ba67963a67a9dd463c91c20c073a26c25208e0a141d86cbd3c257159cfbe855323a1f4a240aae04f08027234
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 D45Hub
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.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # lucidus
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "lucidus"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: lucidus
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install lucidus
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `lucidus.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
data/_config.yml ADDED
@@ -0,0 +1,28 @@
1
+ title: Lucidus # name of the site
2
+ author: Denis Thiessen # name of site's author
3
+ email: mail@denisthiessen.de # email of site's author
4
+ url: https://denisthiessen.de # root address of the site
5
+ baseurl: "" # subpath of the site, e.g. "/blog" (leave it blank "" if you're site shouldn't use a subpath)
6
+ description: > # description of the site (multiple lines allowed)
7
+ A super minimal and lightweight Jekyll theme.
8
+
9
+ favicon: "favicon.png" # name+extension of favicon (which must be put on the root folder)
10
+
11
+ theme: lucidus # if you are using GitHub Pages, change it to remote_theme: D45Hub/lucidus
12
+ remote_theme: D45Hub/Lucidus
13
+
14
+ sass:
15
+ sass_dir: _scss
16
+ style: :compressed
17
+
18
+ plugins:
19
+ - jekyll-feed
20
+ - jekyll-seo-tag
21
+
22
+ repo_url: 'https://github.com/D45Hub/Lucidus'
23
+ edit_on_github: true
24
+ github_docs_folder: false
25
+ sticky_navigation: true
26
+ prev_next_buttons_location: both
27
+ search_enabled: true
28
+ hljs_style: github-gist
@@ -0,0 +1,11 @@
1
+ <footer class="footer centered-text">
2
+ <div>
3
+ <ul>
4
+ <li><a href="./about">About</a></li>
5
+ <li><a href="./platforms">Platforms</a></li>
6
+ <li><a href="./feed.xml">RSS Feed</a></li>
7
+ <li><a href="./impressum">Impressum</a></li>
8
+ <li><a href="./privacy">Privacy Notice</a></li>
9
+ </ul>
10
+ </div>
11
+ </footer>
@@ -0,0 +1,19 @@
1
+ <head>
2
+ <meta charset="utf-8" />
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
4
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
5
+
6
+ <title>
7
+ {%- if page.title -%}
8
+ {{ page.title }}
9
+ {%- else -%}
10
+ {{ site.title }}
11
+ {%- endif -%}
12
+ </title>
13
+
14
+ {% seo %}
15
+ {% feed_meta %}
16
+
17
+ <link rel="favicon" type="image/x-icon" href="{{ site.favicon | relative_url }}" />
18
+ <link rel="stylesheet" href="{{ "/assets/css/styles.css" | relative_url }}" />
19
+ </head>
@@ -0,0 +1,11 @@
1
+ <p class="centered-text header-info">
2
+ {% for info in page.infos %}
3
+
4
+ {% if forloop.last %}
5
+ <span>{{ info }}</span>
6
+ {% else %}
7
+ <span>{{ info }} •</span>
8
+ {% endif %}
9
+
10
+ {% endfor %}
11
+ </p>
@@ -0,0 +1,26 @@
1
+ <header>
2
+ <h1>{{ site.title }}</h1>
3
+ </header>
4
+
5
+ {%- include home_header.html -%}
6
+
7
+ {{ content }}
8
+
9
+ {%- if site.posts.size > 0 -%}
10
+ <ul class="post-list">
11
+ {%- assign date_format = site.lucidus.date_format | default: "%b %-d, %Y" -%}
12
+ {%- for post in site.posts -%}
13
+ <li>
14
+ <h3>
15
+ <a class="post-link" href="{{ post.url | relative_url }}">
16
+ {{ post.title | escape }}
17
+ </a>
18
+ </h3>
19
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
20
+ {%- if post.show_description -%}
21
+ <p>{{ post.description }}</p>
22
+ {%- endif -%}
23
+ </li>
24
+ {%- endfor -%}
25
+ </ul>
26
+ {%- endif -%}
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: "en" }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body>
7
+
8
+ <main class="page-content" aria-label="Content">
9
+ <div class="center">
10
+ {{ content }}
11
+ </div>
12
+ </main>
13
+
14
+ {%- include footer.html -%}
15
+
16
+ {% if page.custom_js %}
17
+ {% for js_file in page.custom_js %}
18
+ <script type="text/javascript" src="{{ site.baseurl }}/assets/js/{{ js_file }}.js"></script>
19
+ {% endfor %}
20
+ {% endif %}
21
+
22
+ </body>
23
+
24
+ </html>
@@ -0,0 +1,33 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <header>
6
+ <h1 class="centered-text">{{ site.title }}</h1>
7
+ </header>
8
+
9
+ {%- include home_header.html -%}
10
+
11
+ {{ content }}
12
+
13
+ {%- if site.posts.size > 0 -%}
14
+ <ul class="post-list">
15
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
16
+ {%- for post in site.posts limit: 5 -%}
17
+ <li>
18
+ <h3>
19
+ <a class="post-link" href="{{ post.url | relative_url }}">
20
+ {{ post.title | escape }}
21
+ </a>
22
+ </h3>
23
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
24
+ {%- if post.show_description -%}
25
+ <p>{{ post.description }}</p>
26
+ {%- endif -%}
27
+ </li>
28
+ {%- endfor -%}
29
+ <li>
30
+ <a class="archive-post-link" href="./archive/">Archive</a>
31
+ </li>
32
+ </ul>
33
+ {%- endif -%}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,64 @@
1
+ $max-width: 512px;
2
+ $post-separation: 64px;
3
+
4
+ html {
5
+ font-family: Verdana, Geneva, Helvetica, Arial, sans-serif;
6
+ }
7
+
8
+ ul {
9
+ list-style-type: none;
10
+ }
11
+
12
+ a, a:visited, a:active {
13
+ color: inherit;
14
+ text-decoration: none;
15
+ }
16
+
17
+ a:hover {
18
+ text-decoration: underline;
19
+ text-decoration-color: blue;
20
+ }
21
+
22
+ .post-list {
23
+ li {
24
+ margin-bottom: $post-separation;
25
+ }
26
+ }
27
+
28
+ .archive-post-link {
29
+ font-size: 24px;
30
+ font-weight: 600;
31
+ }
32
+
33
+ .post-meta {
34
+ color: rgb(117, 117, 117);
35
+ margin-top: 24px;
36
+ }
37
+
38
+ .center {
39
+ max-width: $max-width;
40
+ margin: 0 auto;
41
+ }
42
+
43
+ .centered-text {
44
+ text-align: center;
45
+ }
46
+
47
+ .header-info {
48
+ margin-bottom: 48px;
49
+ }
50
+
51
+ .footer {
52
+ max-width: $max-width;
53
+ margin: $post-separation auto 0 auto;
54
+
55
+ ul {
56
+ padding: 0;
57
+
58
+ li {
59
+ display: inline;
60
+ margin: 10px 10px 0 0;
61
+ white-space: nowrap;
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "lucidus";
metadata ADDED
@@ -0,0 +1,140 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lucidus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Denis Thiessen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-02-18 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.9'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-feed
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.15.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.15.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-seo-tag
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.7.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.7.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: github-pages
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '223'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '223'
69
+ - !ruby/object:Gem::Dependency
70
+ name: terminal-table
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.4'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-remote-theme
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.4.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.4.0
97
+ description:
98
+ email:
99
+ - mail@denisthiessen.de
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - LICENSE.txt
105
+ - README.md
106
+ - _config.yml
107
+ - _includes/footer.html
108
+ - _includes/head.html
109
+ - _includes/home_header.html
110
+ - _layouts/archive.html
111
+ - _layouts/default.html
112
+ - _layouts/home.html
113
+ - _layouts/page.html
114
+ - _layouts/post.html
115
+ - _sass/lucidus.scss
116
+ - assets/css/styles.scss
117
+ homepage: https://github.com/D45Hub/Lucidus
118
+ licenses:
119
+ - MIT
120
+ metadata: {}
121
+ post_install_message:
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ requirements: []
136
+ rubygems_version: 3.1.4
137
+ signing_key:
138
+ specification_version: 4
139
+ summary: A super minimal and lightweight jekyll theme.
140
+ test_files: []