jekyll-theme-eva 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +63 -2
- data/_config.yml +4 -4
- data/_sass/jekyll-theme-eva.scss +1 -1
- data/develop/release +42 -0
- data/jekyll-theme-eva.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 449c86e18af4ad98692e90503f87c569ac9963d9682c6579674f5ece62e44ae3
|
4
|
+
data.tar.gz: 66648aef395cdf579885ea7f916b905929cd0c6ed70738a7727eaa27edbf0022
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd37b06098385a33a12a27735eaa9e8f88e8691550abb01fb282dd1eb33628ab1a91b8074868f8aeb97f8edfc407d34148e7259747d9a926b4ad83732ee29cb7
|
7
|
+
data.tar.gz: 6c5d5937e5ebc742918a889f88f7d7173cb2f6588054242c765dfda48e2ea5e3c0f1cb8bdefb6d51dc46de2c6f8883e4148ef04fc894f4a9428f7712f84362e5
|
data/README.md
CHANGED
@@ -5,13 +5,56 @@ To start:
|
|
5
5
|
- Add "jekyll-theme-eva" gem to your Gemfile
|
6
6
|
- Specify "jekyll-theme-eva" theme in your site configuration
|
7
7
|
- Copy theme’s _plugins directory into your site base directory
|
8
|
+
- Add theme configuration to _config.yml
|
8
9
|
- Create _data/albums and populate it with album data
|
9
10
|
|
10
|
-
|
11
|
+
## Configuration (in `_config.yml`)
|
11
12
|
|
12
|
-
|
13
|
+
Set these to your liking:
|
14
|
+
|
15
|
+
full_name:
|
16
|
+
given_name:
|
17
|
+
family_name:
|
18
|
+
job_title:
|
19
|
+
|
20
|
+
tagline: artist’s jekyll theme
|
21
|
+
# 3-4 words
|
22
|
+
|
23
|
+
url: https://example.com/
|
24
|
+
|
25
|
+
phone_number: +1234567890
|
26
|
+
|
27
|
+
social:
|
28
|
+
links:
|
29
|
+
- https://www.instagram.com/<your username>/
|
30
|
+
- https://<your username>.tumblr.com/
|
31
|
+
# Supported social links: facebook, instagram, tumblr, twitter.
|
32
|
+
|
33
|
+
email: example@example.com
|
34
|
+
# Or, for spam protection (TODO: automate email encoding):
|
35
|
+
# email_encoded: <encoded string>
|
36
|
+
# key: <crypto key>
|
37
|
+
|
38
|
+
# google_site_verification: <string>
|
39
|
+
|
40
|
+
Add these as is:
|
41
|
+
|
42
|
+
plugins:
|
43
|
+
- jekyll-responsive-image
|
44
|
+
|
45
|
+
responsive_image:
|
46
|
+
template: _includes/_responsive_image.html
|
47
|
+
sizes:
|
48
|
+
- width: 480
|
49
|
+
quality: 80
|
50
|
+
- width: 800
|
51
|
+
|
52
|
+
## Album data structure (in `_data/`)
|
53
|
+
|
54
|
+
(- albums/)
|
13
55
|
- <album 1 name>/
|
14
56
|
- about.yml
|
57
|
+
- symbol.png
|
15
58
|
- artwork/
|
16
59
|
- <artwork 1 name>/
|
17
60
|
- about.yml
|
@@ -20,6 +63,24 @@ Album data structure:
|
|
20
63
|
- about.yml
|
21
64
|
- <image file name>.svg
|
22
65
|
|
66
|
+
Album symbols should have equal sides (look OK if resized to fit in a square).
|
67
|
+
|
68
|
+
Album data to put in its about.yml:
|
69
|
+
|
70
|
+
name: album-name
|
71
|
+
priority: 1 # Determines navigation ordering on home page
|
72
|
+
|
73
|
+
title: Album Title
|
74
|
+
description: Briefly about this
|
75
|
+
|
76
|
+
home_nav_icon_style: inset
|
77
|
+
# supported: inset, full-bleed
|
78
|
+
|
79
|
+
artwork_list_style: inset multi-column
|
80
|
+
# supported: inset multi-column, full-bleed one-column
|
81
|
+
|
82
|
+
Artwork data to put in its about.yml is name and title, in same YAML format.
|
83
|
+
|
23
84
|
Customization:
|
24
85
|
|
25
86
|
- Create _includes/head_symbol_home.html for custom logo/mascot header
|
data/_config.yml
CHANGED
data/_sass/jekyll-theme-eva.scss
CHANGED
data/develop/release
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
# Tag and push a release.
|
3
|
+
|
4
|
+
set -e
|
5
|
+
|
6
|
+
# Make sure we're in the project root.
|
7
|
+
|
8
|
+
cd $(dirname "$0")/..
|
9
|
+
|
10
|
+
# Make sure the darn thing works
|
11
|
+
|
12
|
+
bundle update
|
13
|
+
|
14
|
+
# Build a new gem archive.
|
15
|
+
|
16
|
+
rm -rf jekyll-theme-eva-*.gem
|
17
|
+
gem build -q jekyll-theme-eva.gemspec
|
18
|
+
|
19
|
+
# Make sure we're on the master branch.
|
20
|
+
|
21
|
+
(git branch | grep -q 'master') || {
|
22
|
+
echo "Only release from the master branch."
|
23
|
+
exit 1
|
24
|
+
}
|
25
|
+
|
26
|
+
# Figure out what version we're releasing.
|
27
|
+
|
28
|
+
tag=v`ls jekyll-theme-eva-*.gem | sed 's/^jekyll-theme-eva-\(.*\)\.gem$/\1/'`
|
29
|
+
|
30
|
+
# Make sure we haven't released this version before.
|
31
|
+
|
32
|
+
git fetch -t origin
|
33
|
+
|
34
|
+
(git tag -l | grep -q "$tag") && {
|
35
|
+
echo "Whoops, there's already a '${tag}' tag."
|
36
|
+
exit 1
|
37
|
+
}
|
38
|
+
|
39
|
+
# Tag it and bag it.
|
40
|
+
|
41
|
+
gem push jekyll-theme-eva-*.gem && git tag "$tag" &&
|
42
|
+
git push origin master && git push origin "$tag"
|
data/jekyll-theme-eva.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-eva
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Strogonoff
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- assets/img/shadowything@2x.png
|
99
99
|
- assets/js/browser-update-show.js
|
100
100
|
- assets/js/browser-update.js
|
101
|
+
- develop/release
|
101
102
|
- favicon.png
|
102
103
|
- favicon.svg
|
103
104
|
- favicon@4x.png
|