minimal-music-project 0.1.2 → 0.1.3
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 +9 -0
- data/_includes/discography-entry.html +6 -0
- data/_layouts/cookies.html +1 -0
- data/_layouts/posts_feed.html +4 -0
- data/_sass/styles/_discography.scss +9 -0
- data/_sass/styles/_menu.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e26ea156205245de52f843ccd0a873c8d9cfb191e81164ecc97f3e1e3e7a9a6c
|
4
|
+
data.tar.gz: e96545495a6f811330865320d5c8c3188d40634b92e35d1cef9e5ecde35d26c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa76fced0d35bf6cc746831db4d07cc54bbde40674ec4b5b9ab2791acfd3aa295cb7cd7d24daf463b274b73f9a257ba5aba2c952ae31d59eac07552f9969135b
|
7
|
+
data.tar.gz: fd4742aa5a17366158a7efe66101dc19fc6fb640a98df8a8955c9b4702b3ce565aee3a022e01c32adff98f4919b205ad211752f212b2e9760e8ffa5d016e544d
|
data/README.md
CHANGED
@@ -7,6 +7,10 @@
|
|
7
7
|
<img height="20" src="https://www.ko-fi.com/img/githubbutton_sm.svg"
|
8
8
|
alt="Donate (Ko-fi)" />
|
9
9
|
</a>
|
10
|
+
<a href="https://jekyll-themes.com">
|
11
|
+
<img src="https://img.shields.io/badge/featured%20on-JekyllThemes-red.svg" height="20" alt="Jekyll Themes Shield" loading="lazy">
|
12
|
+
</a>
|
13
|
+
|
10
14
|
|
11
15
|
minimal-music-project is a flexible, extendable Jekyll theme. With this theme it's plain simple to create a good looking website for a music band with all the required components to list all releases and news. Demo is available [here](https://minimal-music-project.netlify.app/).
|
12
16
|
|
@@ -91,7 +95,12 @@ Structure of `_data/customs.yml`:
|
|
91
95
|
|
92
96
|
## Posts front matter parameters
|
93
97
|
|
98
|
+
### Description / excerpt
|
99
|
+
|
100
|
+
In the post feed / discography each entry will be shown with a text. This text will contain either the content of "description" property from front matter, or [excerpt](https://jekyllrb.com/docs/posts/#post-excerpts) if the description property is missing.
|
101
|
+
|
94
102
|
### Images
|
103
|
+
|
95
104
|
There are two parameters responsible for displaying images: *image* and *responsiveImage*. The first one should have string value equal to the relative path to the image to display in a post (and post-feed / discography preview) if *responsiveImage* is not set. This path will always be used for *clickToEnlargeImages* functionality too. The *responsiveImage* is an array of objects that will be transpiled to img in DOM property *srcset*. Each object should contain two properties:
|
96
105
|
|
97
106
|
* *src* - path to the file
|
@@ -30,6 +30,12 @@
|
|
30
30
|
</a>
|
31
31
|
<p class="discography-album_summary">
|
32
32
|
{{ include.currPost.description }}
|
33
|
+
|
34
|
+
{% if include.currPost.description %}
|
35
|
+
{{ include.currPost.description }}
|
36
|
+
{% else %}
|
37
|
+
{{ include.currPost.excerpt | strip_html }}
|
38
|
+
{% endif %}
|
33
39
|
</p>
|
34
40
|
{% include discography-entry-metadata.html currPost=include.currPost %}
|
35
41
|
</section>
|
data/_layouts/cookies.html
CHANGED
data/_layouts/posts_feed.html
CHANGED
data/_sass/styles/_menu.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimal-music-project
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patryk Bieszke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|