jekyll-theme-dusk 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: b2d204e2f789df0b7ce74794314041533e9ce05c101689e845c1f399407e0cf3
4
+ data.tar.gz: 7dfa6a6a313351f65ebe7af4ee888f63e7ec0e3dc8d1bb899f1af6f6701d6876
5
+ SHA512:
6
+ metadata.gz: b8275412787223575c0a1cca1fc93950548e20002ada6d52a9cbe8ec6d7e727596a7627feb46d42707501e6a11ec71ce53c24fc38c087ac0ac6bf97fc70aa82a
7
+ data.tar.gz: 4e53fa192ceae01d4d90433b2e1c1fa89fd815907545d9e9d1b0b9d51fa1cf33af40f329a98bc77d41c65a068457bdb5ff0e6e3a95f21e50c74a6c7ade990baf
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Parmjot
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,50 @@
1
+ # jekyll-theme-dusk
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
+ ## Installation
10
+
11
+ Add this line to your Jekyll site's `Gemfile`:
12
+
13
+ ```ruby
14
+ gem "jekyll-theme-dusk"
15
+ ```
16
+
17
+ And add this line to your Jekyll site's `_config.yml`:
18
+
19
+ ```yaml
20
+ theme: jekyll-theme-dusk
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ Or install it yourself as:
28
+
29
+ $ gem install jekyll-theme-dusk
30
+
31
+ ## Usage
32
+
33
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
34
+
35
+ ## Contributing
36
+
37
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Parmjot-Singh/jekyll-theme-dusk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
38
+
39
+ ## Development
40
+
41
+ To set up your environment to develop this theme, run `bundle install`.
42
+
43
+ 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.
44
+
45
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
46
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-dusk.gemspec` accordingly.
47
+
48
+ ## License
49
+
50
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ - name: Home
2
+ link: /
3
+ - name: About
4
+ link: /about.html
5
+ - name: Posts
6
+ link: /posts.html
@@ -0,0 +1,11 @@
1
+ <nav>
2
+ <ul>
3
+ {% for item in site.data.navigation %}
4
+ <li>
5
+ <a href="{{ item.link }}">
6
+ {{ item.name }}
7
+ </a>
8
+ </li>
9
+ {% endfor %}
10
+ </ul>
11
+ </nav>
@@ -0,0 +1,14 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>{{ page.title }}</title>
6
+ <link rel="stylesheet" href="/assets/css/styles.css">
7
+ </head>
8
+ <body>
9
+ <div id="content">
10
+ {% include navigation.html %}
11
+ {{ content }}
12
+ </div> <!-- end content -->
13
+ </body>
14
+ </html>
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+ <p>{{ page.date | date_to_string }} - {{ page.author }}</p>
6
+
7
+ {{ content }}
data/_sass/main.scss ADDED
@@ -0,0 +1,84 @@
1
+ ---
2
+ ---
3
+ /* Reset CSS to make it consistent on all browsers */
4
+ /* http://meyerweb.com/eric/tools/css/reset/
5
+ v2.0 | 20110126
6
+ License: none (public domain)
7
+ */
8
+
9
+ html, body, div, span, applet, object, iframe,
10
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
11
+ a, abbr, acronym, address, big, cite, code,
12
+ del, dfn, em, img, ins, kbd, q, s, samp,
13
+ small, strike, strong, sub, sup, tt, var,
14
+ b, u, i, center,
15
+ dl, dt, dd, ol, ul, li,
16
+ fieldset, form, label, legend,
17
+ table, caption, tbody, tfoot, thead, tr, th, td,
18
+ article, aside, canvas, details, embed,
19
+ figure, figcaption, footer, header, hgroup,
20
+ menu, nav, output, ruby, section, summary,
21
+ time, mark, audio, video {
22
+ margin: 0;
23
+ padding: 0;
24
+ border: 0;
25
+ font-size: 100%;
26
+ font: inherit;
27
+ vertical-align: baseline;
28
+ }
29
+
30
+ /* HTML5 display-role reset for older browsers */
31
+ article, aside, details, figcaption, figure,
32
+ footer, header, hgroup, menu, nav, section {
33
+ display: block;
34
+ }
35
+
36
+ /* fonts */
37
+ /* Regular */
38
+ @font-face {
39
+ font-family: "Inconsolata";
40
+ src: url("/assets/fonts/Inconsolata-VariableFont_wdth,wght.ttf") format("truetype");
41
+ font-weight: 300 700;
42
+ font-style: normal;
43
+ }
44
+
45
+ /* Italic */
46
+ @font-face {
47
+ font-family: "Inconsolata";
48
+ src: url("/assets/fonts/Inconsolata-VariableFont_wdth,wght.ttf") format("truetype");
49
+ font-weight: 300 700;
50
+ font-style: italic;
51
+ }
52
+
53
+ html {
54
+ font-family: Inconsolata, "Courier New", monospace;
55
+ }
56
+
57
+ /* main website area */
58
+ #content {
59
+ display: block;
60
+ width: 80vw;
61
+ margin: 10vh auto 10vh auto;
62
+ background-color: red;
63
+ }
64
+
65
+ /* navigation */
66
+ nav {
67
+ a {
68
+ font-style: normal;
69
+ text-decoration: none;
70
+ color: inherit;
71
+ }
72
+ ul {
73
+ list-style-type: none;
74
+ overflow: hidden;
75
+ }
76
+ li {
77
+ display: block;
78
+ width: 100%;
79
+ background-color: gray;
80
+ text-align: center;
81
+ }
82
+ width: 50%;
83
+ aspect-ratio: 1 / 1;
84
+ }
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "main";
metadata ADDED
@@ -0,0 +1,68 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-dusk
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Parmjot
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-12-30 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.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.3'
27
+ description:
28
+ email:
29
+ - parmjotsinghrobot@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _data/navigation.yml
37
+ - _includes/navigation.html
38
+ - _layouts/default.html
39
+ - _layouts/home.html
40
+ - _layouts/page.html
41
+ - _layouts/post.html
42
+ - _sass/main.scss
43
+ - assets/css/styles.scss
44
+ - assets/fonts/Inconsolata-VariableFont_wdth,wght.ttf
45
+ homepage: https://github.com/Parmjot-Singh/jekyll-theme-dusk
46
+ licenses:
47
+ - MIT
48
+ metadata: {}
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubygems_version: 3.4.1
65
+ signing_key:
66
+ specification_version: 4
67
+ summary: A cool theme I've made which tiles your website with a nice color theme.
68
+ test_files: []