jekyll-theme-dusk 0.2.3 → 0.2.5
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/README.md +37 -13
- data/_config.yml +1 -0
- data/_data/galleries/example.yml +5 -0
- data/_data/navigation.yml +1 -1
- data/_includes/image-gallery.html +11 -0
- data/_sass/base.scss +29 -0
- data/_sass/include.scss +1 -1
- data/assets/images/gallery/example/tux-flag.jpg +0 -0
- data/assets/images/gallery/example/tux-old.jpg +0 -0
- data/assets/images/gallery/example/tux-trollface.jpg +0 -0
- data/assets/images/gallery/example/tux-unfaithful.jpg +0 -0
- data/assets/images/gallery/example/tux.jpg +0 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0aaddb7cdb1b910335bd0a657c733cc741d711d5baaff9dee8a8261ec39dcca1
|
4
|
+
data.tar.gz: 97bf2558d4113fe0c418c8a0de7959198b65a48a5ad42e7475a85977d176e466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 364219768d8342d5d545eb3a6ad4f4ef84c443a71200e3fba9658a197cbbfee443280cdbde6d2c31ada0cc6e84fde926fd1d18a423ff3734a4798499118bf7f8
|
7
|
+
data.tar.gz: 929dced2ffe00192bcfa8fc7b3fb0c10ef72cce825356fd6d7cd62c1ef3b92b3a408927d1c3f6d83061fcdf067bf3daec702d3316b54698a88147b36930bf933
|
data/README.md
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
# jekyll-theme-dusk
|
2
2
|
|
3
|
-
|
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
|
3
|
+
This theme was built for GitHub Pages.
|
8
4
|
|
9
5
|
## Installation
|
10
6
|
|
@@ -30,20 +26,48 @@ Or install it yourself as:
|
|
30
26
|
|
31
27
|
## Usage
|
32
28
|
|
33
|
-
|
29
|
+
This theme has many features in it. They are written here so that it is easier to use them.
|
34
30
|
|
35
|
-
|
31
|
+
- ### Navigation Menu
|
36
32
|
|
37
|
-
|
33
|
+
To edit entries in the navigation menu, edit;
|
34
|
+
```
|
35
|
+
_data/navigation.yml
|
36
|
+
```
|
37
|
+
and add your pages, and icons if you want them.
|
38
|
+
Here is an example:
|
39
|
+
```
|
40
|
+
- name: Home
|
41
|
+
icon:
|
42
|
+
link: /
|
43
|
+
- name: About
|
44
|
+
icon: /assets/images/about-icon.png
|
45
|
+
link: /about.html
|
46
|
+
- name: Blog
|
47
|
+
icon: /assets/images/blog-icon.png
|
48
|
+
link: /blog.html
|
49
|
+
```
|
50
|
+

|
51
|
+
Crunchy gif :)
|
52
|
+
|
53
|
+
- ### Home Page
|
38
54
|
|
39
|
-
|
55
|
+
To edit the home page, you need to include a title for the page, and a small summary.
|
56
|
+
This can be found in the front matter. Here is an example.
|
57
|
+
```
|
58
|
+
layout: home
|
59
|
+
permalink: /
|
60
|
+
title: "Dusk"
|
61
|
+
summary: "Dusk is a theme built for GitHub Pages."
|
62
|
+
```
|
40
63
|
|
41
|
-
|
64
|
+
- ### Blog Page
|
42
65
|
|
43
|
-
|
66
|
+
This page contains all your posts that you have made on your website. All you need to do is just to make some posts, and then they will all appear there.
|
44
67
|
|
45
|
-
|
46
|
-
|
68
|
+
## Contributing
|
69
|
+
|
70
|
+
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.
|
47
71
|
|
48
72
|
## License
|
49
73
|
|
data/_config.yml
CHANGED
data/_data/navigation.yml
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- credit to Tim Van Damme at css-tricks.com -->
|
2
|
+
<!-- https://css-tricks.com/adaptive-photo-layout-with-flexbox -->
|
3
|
+
<div id="image-gallery">
|
4
|
+
<ul>
|
5
|
+
{%- for item in site.data.galleries[include.gallery_id] -%}
|
6
|
+
<li>
|
7
|
+
<img src="/assets/images/gallery/{{ include.gallery_id }}/{{ item.image }}">
|
8
|
+
</li>
|
9
|
+
{%- endfor -%}
|
10
|
+
</ul>
|
11
|
+
</div>
|
data/_sass/base.scss
CHANGED
@@ -80,4 +80,33 @@ hr {
|
|
80
80
|
|
81
81
|
article {
|
82
82
|
margin: 20px 0;
|
83
|
+
|
84
|
+
#image-gallery {
|
85
|
+
background-color: green;
|
86
|
+
|
87
|
+
ul {
|
88
|
+
display: flex;
|
89
|
+
flex-wrap: wrap;
|
90
|
+
list-style: none;
|
91
|
+
padding-left: 0;
|
92
|
+
|
93
|
+
&:after {
|
94
|
+
content:'';
|
95
|
+
display:block;
|
96
|
+
flex-grow: 10;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
li {
|
101
|
+
height: 40vh;
|
102
|
+
flex-grow: 1;
|
103
|
+
}
|
104
|
+
|
105
|
+
img {
|
106
|
+
max-height: 100%;
|
107
|
+
min-width: 100%;
|
108
|
+
object-fit: cover;
|
109
|
+
vertical-align: bottom;
|
110
|
+
}
|
111
|
+
}
|
83
112
|
}
|
data/_sass/include.scss
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
transform: translate(-50%, -50%);
|
30
30
|
}
|
31
31
|
}
|
32
|
-
#why {
|
32
|
+
#why {/* container around .b2b-container div. Button doesn't look correct without this for some reason, hence the name #why */
|
33
33
|
display: flex;
|
34
34
|
flex-direction: row;
|
35
35
|
justify-content: flex-start;
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-dusk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parmjot Singh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
@@ -48,12 +48,14 @@ files:
|
|
48
48
|
- LICENSE.txt
|
49
49
|
- README.md
|
50
50
|
- _config.yml
|
51
|
+
- _data/galleries/example.yml
|
51
52
|
- _data/navigation.yml
|
52
53
|
- _includes/footer.html
|
53
54
|
- _includes/head.html
|
54
55
|
- _includes/header-default.html
|
55
56
|
- _includes/header-home.html
|
56
57
|
- _includes/header-post.html
|
58
|
+
- _includes/image-gallery.html
|
57
59
|
- _includes/navigation.html
|
58
60
|
- _layouts/blog.html
|
59
61
|
- _layouts/default.html
|
@@ -69,6 +71,11 @@ files:
|
|
69
71
|
- assets/images/cross.png
|
70
72
|
- assets/images/dusk-gray.jpg
|
71
73
|
- assets/images/dusk.jpg
|
74
|
+
- assets/images/gallery/example/tux-flag.jpg
|
75
|
+
- assets/images/gallery/example/tux-old.jpg
|
76
|
+
- assets/images/gallery/example/tux-trollface.jpg
|
77
|
+
- assets/images/gallery/example/tux-unfaithful.jpg
|
78
|
+
- assets/images/gallery/example/tux.jpg
|
72
79
|
- assets/images/github-logo.png
|
73
80
|
- assets/images/noise.png
|
74
81
|
homepage: https://github.com/Parmjot-Singh/jekyll-theme-dusk/
|