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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a872db79927b62d67b65a6bd68276d992da9c8dac7f7c8d9a4020d388b85ad1b
4
- data.tar.gz: 7e803245257a06ea4d99a7bb6fe31fbfa1d6b6ce7a5d7096b6a796fef7f983b0
3
+ metadata.gz: 449c86e18af4ad98692e90503f87c569ac9963d9682c6579674f5ece62e44ae3
4
+ data.tar.gz: 66648aef395cdf579885ea7f916b905929cd0c6ed70738a7727eaa27edbf0022
5
5
  SHA512:
6
- metadata.gz: aa340a7eca385a6015d81baec6da7cd370b629ed232c48a004256178e07802622a46e28c3279a9426e68c35cfd46efa90578f5ebbc3fa6804948f6aa8fe63811
7
- data.tar.gz: 53e5a24acf0274231449a698f37fd05bc68de43279f0fa4fe02ca81ef0b0a55931342950a65bb89a0af0df97587b7359314dfea4f113a6f6926ba575da4b6540
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
- Album data structure:
11
+ ## Configuration (in `_config.yml`)
11
12
 
12
- - albums/
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
@@ -1,8 +1,8 @@
1
- full_name: John Smith
2
- given_name: John
3
- family_name: Smith
1
+ full_name: Eva Theme
2
+ given_name: Eva
3
+ family_name: Theme
4
4
  job_title: Illustrator
5
- tagline: here is tagline
5
+ tagline: simple Jekyll-based portfolio
6
6
 
7
7
  url:
8
8
 
@@ -203,7 +203,7 @@ body > main {
203
203
  word-spacing: unset;
204
204
  width: auto;
205
205
  height: auto;
206
- top: 101px;
206
+ top: 10px;
207
207
  left: 0;
208
208
  }
209
209
  }
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"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "jekyll-theme-eva"
5
- spec.version = "0.1.0"
5
+ spec.version = "0.1.1"
6
6
  spec.authors = ["Anton Strogonoff"]
7
7
  spec.email = ["anton@strogonoff.name"]
8
8
 
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.0
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