alembic-jekyll-theme 3.0.14 → 3.1.0

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
  SHA1:
3
- metadata.gz: 9cc120b8635852d681048dbcd5832237e135b7bc
4
- data.tar.gz: c1136b7e0d005333e45a74544ad68297465b5d9c
3
+ metadata.gz: a046355db3adc5a1ad54b67d72d89453ff2c312d
4
+ data.tar.gz: 28a572432bbfe5ad684cb53e5fa2b78fe1c6b631
5
5
  SHA512:
6
- metadata.gz: 473c515c2ead5c4b2e06d91a3ea9c848972f67d95144d2f958ba2f32c113792f1dd191302b05b26a964ac880511086c1365d7ac097d25616b685170c8f60d4ea
7
- data.tar.gz: 93f5833c248f68f2f5cc4228a43023e72bea3c071c1de00927e85407a02d53c12442e843e16622d50b1dc5087f9d05a4fc6565238ff3df87eff05b0dbfb9393f
6
+ metadata.gz: 265d8fc92b79f75df649640cbe5a3d0c86f18073f6311601aaff591d560237f256dd6922f420f8f8235e680269930c536fb7eaa6b62ed4aa89edbaba2e435dd5
7
+ data.tar.gz: 4479196abc2fd959de3751a879ce71103c5cff286de90a46779a78ca19534fc68e6ad23e2ed894d61ee1d2e29d8dd532deed8d4bdb88dc00ca283aad6684522c
data/README.md CHANGED
@@ -201,9 +201,9 @@ Pinterest: "#BD081C"
201
201
  LinkedIn: "#0077B5"
202
202
  tumblr: "#36465D"
203
203
  Reddit: "#FF4500"
204
- Hacker News: "#ff6600"
205
- Designer News: "#2D72D9"
206
- Email: ""
204
+ HackerNews: "#ff6600"
205
+ DesignerNews: "#2D72D9"
206
+ Email: true
207
207
  ```
208
208
 
209
209
  _The first item is the name of the network (must be one of the ones stated above) and the second is the colour of the button. To remove a button just remove the line of the same name._
@@ -3,14 +3,14 @@
3
3
  <ul class="list list--nav">
4
4
  {% for item in site.navigation_footer %}
5
5
 
6
- {% if item[1] contains '://' %}
7
- {% assign url = item[1] %}
6
+ {% if item.url contains '://' %}
7
+ {% assign url = item.url %}
8
8
  {% else %}
9
- {% assign url = item[1] | relative_url %}
9
+ {% assign url = item.url | relative_url %}
10
10
  {% endif %}
11
11
 
12
- <li class="item item--nav{% if item[1] == page.url %} item--current{% endif %}">
13
- <a href="{{ url }}">{{ item[0] }}</a>
12
+ <li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
13
+ <a href="{{ url }}">{{ item.title }}</a>
14
14
  </li>
15
15
  {% endfor %}
16
16
  </ul>
@@ -3,14 +3,14 @@
3
3
  <ul class="list list--nav">
4
4
  {% for item in site.navigation_header %}
5
5
 
6
- {% if item[1] contains '://' %}
7
- {% assign url = item[1] %}
6
+ {% if item.url contains '://' %}
7
+ {% assign url = item.url %}
8
8
  {% else %}
9
- {% assign url = item[1] | relative_url %}
9
+ {% assign url = item.url | relative_url %}
10
10
  {% endif %}
11
11
 
12
- <li class="item item--nav{% if item[1] == page.url %} item--current{% endif %}">
13
- <a href="{{ url }}">{{ item[0] }}</a>
12
+ <li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
13
+ <a href="{{ url }}">{{ item.title }}</a>
14
14
  </li>
15
15
  {% endfor %}
16
16
  </ul>
@@ -1,22 +1,24 @@
1
1
  <div class="share">
2
2
  {% for network in site.sharing_links %}
3
- {% assign name = network[0] %}
4
- {% assign id = network[0] | downcase | remove: " " %}
5
- {% assign url = site.url | append: site.baseurl | append: page.url %}
6
- {% assign color = network[1] %}
3
+ {% if network[1] != blank %}
4
+ {% assign name = network[0] %}
5
+ {% assign id = network[0] | downcase | remove: " " %}
6
+ {% assign url = site.url | append: site.baseurl | append: page.url %}
7
+ {% assign color = network[1] %}
7
8
 
8
- {% capture share_link %}
9
- {%- if id contains "twitter" %}https://twitter.com/intent/tweet/?url={{ url }}&text={{ page.title | uri_escape }}{% if site.twitter.username %}&via={{ site.twitter.username }}{% endif %}{% endif -%}
10
- {%- if id contains "facebook" %}https://facebook.com/sharer/sharer.php?u={{ url }}{% endif -%}
11
- {%- if id contains "pinterest" %}https://pinterest.com/pin/create/button/?url={{ url }}&description={{ page.title }}&media={{ page.image }}{% endif -%}
12
- {%- if id contains "linkedin" %}https://www.linkedin.com/shareArticle?url={{ url }}&title={{ page.title }}&source={{ site.title }}&mini=true{% endif -%}
13
- {%- if id contains "tumblr" %}https://tumblr.com/widgets/share/tool?canonicalUrl={{ url }}&tags={{ page.category }}&caption={{ page.title }}{% endif -%}
14
- {%- if id contains "reddit" %}https://reddit.com/submit?url={{ url }}&title={{ page.title }}&resubmit=true{% endif -%}
15
- {%- if id contains "hackernews" %}https://news.ycombinator.com/submitlink?u={{ url }}&t={{ page.title }}{% endif -%}
16
- {%- if id contains "designernews" %}https://www.designernews.co/submit?url={{ url }}&title={{ page.title }}{% endif -%}
17
- {%- if id contains "email" %}mailto:?subject={{ page.title }}&body={{ url | prepend: "Hey, check out this: "}}{% endif -%}
18
- {% endcapture %}
9
+ {% capture share_link %}
10
+ {%- if id contains "twitter" %}https://twitter.com/intent/tweet/?url={{ url }}&text={{ page.title | uri_escape }}{% if site.twitter.username %}&via={{ site.twitter.username }}{% endif %}{% endif -%}
11
+ {%- if id contains "facebook" %}https://facebook.com/sharer/sharer.php?u={{ url }}{% endif -%}
12
+ {%- if id contains "pinterest" %}https://pinterest.com/pin/create/button/?url={{ url }}&description={{ page.title }}&media={{ page.image }}{% endif -%}
13
+ {%- if id contains "linkedin" %}https://www.linkedin.com/shareArticle?url={{ url }}&title={{ page.title }}&source={{ site.title }}&mini=true{% endif -%}
14
+ {%- if id contains "tumblr" %}https://tumblr.com/widgets/share/tool?canonicalUrl={{ url }}&tags={{ page.category }}&caption={{ page.title }}{% endif -%}
15
+ {%- if id contains "reddit" %}https://reddit.com/submit?url={{ url }}&title={{ page.title }}&resubmit=true{% endif -%}
16
+ {%- if id contains "hackernews" %}https://news.ycombinator.com/submitlink?u={{ url }}&t={{ page.title }}{% endif -%}
17
+ {%- if id contains "designernews" %}https://www.designernews.co/submit?url={{ url }}&title={{ page.title }}{% endif -%}
18
+ {%- if id contains "email" %}mailto:?subject={{ page.title }}&body={{ url | prepend: "Hey, check out this: "}}{% endif -%}
19
+ {% endcapture %}
19
20
 
20
- {% include button.html text=name icon=id link=share_link color=color %}
21
+ {% include button.html text=name icon=id link=share_link color=color %}
22
+ {% endif %}
21
23
  {% endfor %}
22
24
  </div>
@@ -1,8 +1,10 @@
1
1
  <nav class="nav nav--social">
2
2
  {% for link in site.social_links %}
3
- {% assign id = link[0] | downcase %}
4
- <a href="{{ link[1] }}">
5
- {% include icon.html id=id title=id %}
6
- </a>
3
+ {% if link[1] != blank %}
4
+ {% assign id = link[0] | downcase %}
5
+ <a href="{{ link[1] }}">
6
+ {% include icon.html id=id title=id %}
7
+ </a>
8
+ {% endif %}
7
9
  {% endfor %}
8
10
  </nav>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alembic-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.14
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Darnes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-10 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -164,20 +164,6 @@ dependencies:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0.11'
167
- - !ruby/object:Gem::Dependency
168
- name: bundler
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '1.14'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '1.14'
181
167
  description: A Jekyll boilerplate theme designed to be a starting point for any Jekyll
182
168
  website. Rather than starting from scratch, this boilerplate is designed to get
183
169
  the ball rolling immediately.