alembic-jekyll-theme 3.0.14 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/_includes/nav-footer.html +5 -5
- data/_includes/nav-header.html +5 -5
- data/_includes/nav-share.html +18 -16
- data/_includes/nav-social.html +6 -4
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a046355db3adc5a1ad54b67d72d89453ff2c312d
|
4
|
+
data.tar.gz: 28a572432bbfe5ad684cb53e5fa2b78fe1c6b631
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
205
|
-
|
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._
|
data/_includes/nav-footer.html
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
<ul class="list list--nav">
|
4
4
|
{% for item in site.navigation_footer %}
|
5
5
|
|
6
|
-
{% if item
|
7
|
-
{% assign url = item
|
6
|
+
{% if item.url contains '://' %}
|
7
|
+
{% assign url = item.url %}
|
8
8
|
{% else %}
|
9
|
-
{% assign url = item
|
9
|
+
{% assign url = item.url | relative_url %}
|
10
10
|
{% endif %}
|
11
11
|
|
12
|
-
<li class="item item--nav{% if item
|
13
|
-
<a href="{{ url }}">{{ item
|
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>
|
data/_includes/nav-header.html
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
<ul class="list list--nav">
|
4
4
|
{% for item in site.navigation_header %}
|
5
5
|
|
6
|
-
{% if item
|
7
|
-
{% assign url = item
|
6
|
+
{% if item.url contains '://' %}
|
7
|
+
{% assign url = item.url %}
|
8
8
|
{% else %}
|
9
|
-
{% assign url = item
|
9
|
+
{% assign url = item.url | relative_url %}
|
10
10
|
{% endif %}
|
11
11
|
|
12
|
-
<li class="item item--nav{% if item
|
13
|
-
<a href="{{ url }}">{{ item
|
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>
|
data/_includes/nav-share.html
CHANGED
@@ -1,22 +1,24 @@
|
|
1
1
|
<div class="share">
|
2
2
|
{% for network in site.sharing_links %}
|
3
|
-
{%
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
-
|
21
|
+
{% include button.html text=name icon=id link=share_link color=color %}
|
22
|
+
{% endif %}
|
21
23
|
{% endfor %}
|
22
24
|
</div>
|
data/_includes/nav-social.html
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
<nav class="nav nav--social">
|
2
2
|
{% for link in site.social_links %}
|
3
|
-
{%
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
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-
|
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.
|