jekyll-theme-eva 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2085febe4d7802c2b45df9180cf1f2b1d1d11fa53ad178b085d946974c7e923e
4
- data.tar.gz: 6144647609d1e9adafa1ec985a326166bd91a3a7ff7916238b2bc55e7559d393
3
+ metadata.gz: aba66c718e25aeaaa0cf97ebc02592e1d4f14d654ca547cde03b01293f561006
4
+ data.tar.gz: 54c760ac2c6701b8b190d347793f21e23df2ba31f441b8a65ff00cc3e8055b42
5
5
  SHA512:
6
- metadata.gz: e5b90fbde385b68aec09b5ee065467ba31ddccefb356c2ec3d026f665de574013f697256d55d2359c4975721d3cfbd98aa1baa59d4e90044f2fc2c878c4a1d5c
7
- data.tar.gz: 5c4cbc0a5fb8e12abe00533c05b45f3e416598d461a16bb19ed2659a5e4029c8ccbef034905f0abc1bab07b373616071050f56e2ea4c4fe12f9321f5dc069516
6
+ metadata.gz: d67a1f4c31d782929b301703a7163b6d801a54d632064be89e81f292c65511d72f59dbb5049e8dbd12b64cb6ba7d8486d7e7d231ee5366ceb280185f4746ad51
7
+ data.tar.gz: 526ca7c153dd2f04c2531c19afb47aeb75a4fa9b540a7397cb042397bcf5d0ae3a2758a7fb6cd70f778ce7f27ced12638e91ee68048deee687400bef4e2c3ec3
data/README.md CHANGED
@@ -17,9 +17,16 @@ uses plugins and Node (Webpack), so not suitable for Github pages auto-build.
17
17
 
18
18
  Set these to your liking:
19
19
 
20
+ # This will be shown everywhere, required
21
+ title_name:
22
+
23
+ # This will be included in website data,
24
+ # may be useful for search engines
20
25
  full_name:
21
26
  given_name:
22
27
  family_name:
28
+ additional_name:
29
+
23
30
  job_title:
24
31
 
25
32
  tagline: artist’s jekyll theme
@@ -33,7 +40,7 @@ Set these to your liking:
33
40
  links:
34
41
  - https://www.instagram.com/<your username>/
35
42
  - https://<your username>.tumblr.com/
36
- # Supported social links: facebook, instagram, tumblr, twitter.
43
+ # Supported social links: facebook, instagram, tumblr, twitter, github.
37
44
 
38
45
  email: example@example.com
39
46
  # Or, for spam protection (TODO: automate email encoding):
@@ -41,6 +48,11 @@ Set these to your liking:
41
48
  # key: <crypto key>
42
49
 
43
50
  # google_site_verification: <string>
51
+ # google_analytics_code: <string with dashes, usually begins with UA>
52
+
53
+ # Language in the format outlined here:
54
+ # https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang
55
+ language: en
44
56
 
45
57
  Add these as is:
46
58
 
@@ -1,25 +1,16 @@
1
- full_name: Eva Theme
2
- given_name: Eva
3
- family_name: Theme
4
- job_title: Illustrator
5
- tagline: simple Jekyll-based portfolio
6
-
7
- url:
1
+ # See README for expected site configuration parameters
8
2
 
9
- phone_number:
3
+ title_name: Eva
4
+ given_name: Eva
5
+ tagline: Jekyll portfolio theme
10
6
 
11
7
  social:
12
8
  links:
13
9
  - https://www.instagram.com/anileated/
14
10
 
15
- email: example@example.com
16
-
17
- # Or,
18
- # email_encoded: <encoded string>
19
- # key: <crypto key>
11
+ url:
20
12
 
21
- # google_site_verification: <string>
22
- # google_analytics_code: <string>
13
+ email: eva@strogonoff.name
23
14
 
24
15
  # Language in the format outlined here:
25
16
  # https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang
@@ -1,24 +1,37 @@
1
1
  {
2
2
  "@context": "http://schema.org",
3
3
  "@type": "Person",
4
+
4
5
  "image": "{{ "favicon@4x.png" | relative_url }}",
6
+
7
+ {% if site.job_title %}
5
8
  "jobTitle": "{{ site.job_title }}",
9
+ {% endif %}
10
+
6
11
  {% if site.given_name %}
7
12
  "givenName": "{{ site.given_name }}",
8
13
  {% endif %}
14
+
9
15
  {% if site.family_name %}
10
16
  "familyName": "{{ site.family_name }}",
11
17
  {% endif %}
18
+
12
19
  {% if site.additional_name %}
13
20
  "additionalName": "{{ site.additional_name }}",
14
21
  {% endif %}
22
+
23
+ {% if site.full_name %}
15
24
  "name": "{{ site.full_name }}",
16
- {% if site.telephone %}
25
+ {% endif %}
26
+
27
+ {% if site.phone_number %}
17
28
  "telephone": "{{ site.phone_number }}",
18
29
  {% endif %}
30
+
19
31
  {% if site.url %}
20
32
  "url": "{{ site.url }}",
21
33
  {% endif %}
34
+
22
35
  "sameAs": [
23
36
  {% for link in site.social.links %}
24
37
  "{{ link }}"{% if forloop.last == false %},{% endif %}
@@ -1,12 +1,12 @@
1
1
  <!doctype html>
2
2
 
3
- <html lang="{{ language }}">
3
+ <html lang="{{ site.language }}">
4
4
 
5
5
  <head>
6
6
  <meta charset="utf-8">
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1">
8
8
 
9
- <title>{% if page.about.title %}{{ page.about.title }} — {% endif %}{{ site.full_name }}: {{ site.tagline }}</title>
9
+ <title>{% if page.about.title %}{{ page.about.title }} — {% endif %}{{ site.title_name }}{% unless page.about.title %}: {{ site.tagline }}{% endunless %}</title>
10
10
 
11
11
  {% if site.google_site_verification %}
12
12
  <meta
@@ -79,19 +79,29 @@
79
79
  <a href="{{ link }}" class="ico">
80
80
  <span class="fa-layers">
81
81
  <i class="fas fa-circle"></i>
82
- <i class="fab
83
- {% if link contains "twitter.com" %}
84
- fa-twitter
85
- {% elsif link contains "github.com" %}
86
- fa-github
87
- {% elsif link contains "facebook.com" %}
88
- fa-facebook
89
- {% elsif link contains "tumblr.com" %}
90
- fa-tumblr
91
- {% elsif link contains "instagram.com" %}
92
- fa-instagram
93
- {% endif %}
94
- " data-fa-transform="shrink-6"></i>
82
+ <i
83
+ {% if link contains "twitter.com" %}
84
+ class="fab fa-twitter"
85
+ alt="Twitter"
86
+ title="Twitter"
87
+ {% elsif link contains "github.com" %}
88
+ class="fab fa-github"
89
+ alt="Github"
90
+ title="Github"
91
+ {% elsif link contains "facebook.com" %}
92
+ class="fab fa-facebook"
93
+ alt="Facebook"
94
+ title="Facebook"
95
+ {% elsif link contains "tumblr.com" %}
96
+ class="fab fa-tumblr"
97
+ alt="Tumblr"
98
+ title="Tumblr"
99
+ {% elsif link contains "instagram.com" %}
100
+ class="fab fa-instagram"
101
+ alt="Instagram"
102
+ title="Instagram"
103
+ {% endif %}
104
+ data-fa-transform="shrink-6"></i>
95
105
  </span>
96
106
  </a>
97
107
  {% endfor %}
@@ -113,7 +123,7 @@
113
123
  </nav>
114
124
 
115
125
  <small class="legal">
116
- © 2018 {{ site.full_name }}&emsp;•&emsp;All Rights Reserved
126
+ © 2018 {% if site.full_name -%}{{ site.full_name }}{%- else -%}{{ site.title_name }}{%- endif -%}&emsp;•&emsp;All Rights Reserved
117
127
  </small>
118
128
  </footer>
119
129
  </main>
@@ -5,7 +5,7 @@ structured_data_include: json_ld_person.html
5
5
 
6
6
  <header class="home__header" role="banner">
7
7
  <h1 class="name">
8
- {{ site.full_name }}
8
+ {{ site.title_name }}
9
9
  </h1>
10
10
  <h2 class="tagline">
11
11
  {{ site.tagline }}
@@ -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.3"
5
+ spec.version = "0.1.4"
6
6
  spec.authors = ["Anton Strogonoff"]
7
7
  spec.email = ["anton@strogonoff.name"]
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-eva
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Strogonoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-04 00:00:00.000000000 Z
11
+ date: 2018-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll