alembic-jekyll-theme 2.0.3 → 2.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 +0 -1
- data/_includes/figure.html +2 -1
- data/_includes/nav-default.html +9 -2
- data/_includes/nav-footer.html +8 -1
- data/_includes/nav-header.html +8 -1
- data/_includes/nav-share.html +2 -2
- data/_includes/post-categories.html +1 -1
- data/_includes/post-comments.html +2 -2
- data/_includes/post-list.html +2 -2
- data/_includes/post-meta.html +1 -1
- data/_includes/post-pagination.html +2 -2
- data/_includes/post-related.html +1 -1
- data/_includes/site-logo.html +2 -2
- data/assets/search.json +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3847d8a04a5b7e2da48cf9f8a2cb6f707f8b1790
|
4
|
+
data.tar.gz: b56ec3a98a723c7f8b70cab4f996911bf00f5e44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c0f7bfabf4db93829cb26e6682eb3bec38640b79034136eccd03b33137cd9e1c68e7bb74390225fc95b3b97257a1c92b8db37d7fdfbf96f66c635bfa235097
|
7
|
+
data.tar.gz: 79c9813131b5838d09ad23d24e89c8c2d72f08887552c6340e55c08177b0f51672b475f40fe1c357b2f47356907406126c74c891d3c4c0b2dca24cbea1af32ae
|
data/README.md
CHANGED
@@ -46,7 +46,6 @@ Alembic is a starting point for [Jekyll](https://jekyllrb.com/) projects. Rather
|
|
46
46
|
Here are a few examples of Alembic out in the wild being used in a variety of ways:
|
47
47
|
|
48
48
|
- [bitpodcast.com](https://bitpodcast.com/)
|
49
|
-
- [katiesimonemusic.com](http://katiesimonemusic.com/)
|
50
49
|
- [joelcagedesign.com](https://joelcagedesign.com/)
|
51
50
|
- [bawejakunal.github.io](https://bawejakunal.github.io/)
|
52
51
|
- [case2111.github.io](http://case2111.github.io/)
|
data/_includes/figure.html
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
+
{% if include.alt %}{% assign altText = include.alt %}{% else %}{% assign altText = include.caption %}{% endif %}
|
1
2
|
<figure class="figure{% if include.position %} figure--{{ include.position }}{% endif %}">
|
2
|
-
<img class="image" src="{{ include.image }}" {% if
|
3
|
+
<img class="image" src="{{ include.image }}" {% if altText %}alt="Image - {{ altText }}"{% endif %}>
|
3
4
|
{% if include.caption %}<figcaption class="caption">{{ include.caption }}</figcaption>{% endif %}
|
4
5
|
</figure>
|
data/_includes/nav-default.html
CHANGED
@@ -3,11 +3,18 @@
|
|
3
3
|
{% for item in site.pages %}
|
4
4
|
{% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." or item.url contains ".json" %}
|
5
5
|
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
6
|
+
|
7
|
+
{% if item.url contains '://' %}
|
8
|
+
{% assign url = item.url %}
|
9
|
+
{% else %}
|
10
|
+
{% assign url = item.url | relative_url %}
|
11
|
+
{% endif %}
|
12
|
+
|
6
13
|
{% if item.collectionpage %}
|
7
14
|
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
|
8
|
-
<a href="{{
|
15
|
+
<a href="{{ url }}" title="Page - {{ collectiondata.title }}">{{ collectiondata.title }}</a>
|
9
16
|
{% else %}
|
10
|
-
<a href="{{
|
17
|
+
<a href="{{ url }}" title="Page - {{ item.title }}">{{ item.title }}</a>
|
11
18
|
{% endif %}
|
12
19
|
</li>
|
13
20
|
{% endunless %}
|
data/_includes/nav-footer.html
CHANGED
@@ -2,8 +2,15 @@
|
|
2
2
|
<nav class="nav nav--footer">
|
3
3
|
<ul class="list list--nav">
|
4
4
|
{% for item in site.navigation_footer %}
|
5
|
+
|
6
|
+
{% if item[1] contains '://' %}
|
7
|
+
{% assign url = item[1] %}
|
8
|
+
{% else %}
|
9
|
+
{% assign url = item[1] | relative_url %}
|
10
|
+
{% endif %}
|
11
|
+
|
5
12
|
<li class="item item--nav{% if item[1] == page.url %} item--current{% endif %}">
|
6
|
-
<a href="{{
|
13
|
+
<a href="{{ url }}" title="Page - {{ item[0] }}">{{ item[0] }}</a>
|
7
14
|
</li>
|
8
15
|
{% endfor %}
|
9
16
|
</ul>
|
data/_includes/nav-header.html
CHANGED
@@ -5,8 +5,15 @@
|
|
5
5
|
</button>
|
6
6
|
<ul class="list list--nav">
|
7
7
|
{% for item in site.navigation_header %}
|
8
|
+
|
9
|
+
{% if item[1] contains '://' %}
|
10
|
+
{% assign url = item[1] %}
|
11
|
+
{% else %}
|
12
|
+
{% assign url = item[1] | relative_url %}
|
13
|
+
{% endif %}
|
14
|
+
|
8
15
|
<li class="item item--nav{% if item[1] == page.url %} item--current{% endif %}">
|
9
|
-
<a href="{{
|
16
|
+
<a href="{{ url }}" title="Page - {{ item[0] }}">{{ item[0] }}</a>
|
10
17
|
</li>
|
11
18
|
{% endfor %}
|
12
19
|
</ul>
|
data/_includes/nav-share.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
{% for network in site.sharing_links %}
|
3
3
|
{% assign name = network[0] %}
|
4
4
|
{% assign id = network[0] | downcase | remove: " " %}
|
5
|
-
{% assign url = site.url | append: page.url %}
|
5
|
+
{% assign url = site.url | append: site.baseurl | append: page.url %}
|
6
6
|
{% assign color = network[1] %}
|
7
7
|
|
8
8
|
{% capture share_link %}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
{% if id contains "facebook" %}https://facebook.com/sharer/sharer.php?u={{ url }}{% endif %}
|
11
11
|
{% if id contains "google+" %}https://plus.google.com/share?url={{ url }}{% endif %}
|
12
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 }}&
|
13
|
+
{% if id contains "linkedin" %}https://www.linkedin.com/shareArticle?url={{ url }}&title={{ page.title }}&source={{ site.title }}&mini=true{% endif %}
|
14
14
|
{% if id contains "tumblr" %}https://tumblr.com/widgets/share/tool?canonicalUrl={{ url }}&tags={{ page.category }}&caption={{ page.title }}{% endif %}
|
15
15
|
{% if id contains "reddit" %}https://reddit.com/submit?url={{ url }}&title={{ page.title }}&resubmit=true{% endif %}
|
16
16
|
{% if id contains "hackernews" %}https://news.ycombinator.com/submitlink?u={{ url }}&t={{ page.title }}{% endif %}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
{% assign has_categories = true %}
|
8
8
|
<li class="item item--post">
|
9
9
|
<article class="article article--post typeset">
|
10
|
-
<h3><a href="{{ page.url }}" title="Post - {{ page.title }}">{{ page.title }}</a></h3>
|
10
|
+
<h3><a href="{{ site.baseurl }}{{ page.url }}" title="Post - {{ page.title }}">{{ page.title }}</a></h3>
|
11
11
|
{% include post-meta.html %}
|
12
12
|
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
13
13
|
</article>
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<div id="disqus_thread"></div>
|
3
3
|
<script>
|
4
4
|
var disqus_config = function () {
|
5
|
-
this.page.url = "{{ site.url }}{{ page.url }}";
|
6
|
-
this.page.identifier = "{{ page.url }}";
|
5
|
+
this.page.url = "{{ site.url }}{{ site.baseurl }}{{ page.url }}";
|
6
|
+
this.page.identifier = "{{ site.baseurl }}{{ page.url }}";
|
7
7
|
};
|
8
8
|
|
9
9
|
(function() {
|
data/_includes/post-list.html
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<li class="item item--post">
|
6
6
|
<article class="article article--post">
|
7
7
|
|
8
|
-
<h2><a href="{{ page.url }}" title="Post - {{ page.title }}">{{ page.title }}</a></h2>
|
8
|
+
<h2><a href="{{ site.baseurl }}{{ page.url }}" title="Post - {{ page.title }}">{{ page.title }}</a></h2>
|
9
9
|
{% include post-meta.html %}
|
10
10
|
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
11
11
|
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<li class="item item--post">
|
23
23
|
<article class="article article--post">
|
24
24
|
|
25
|
-
<h2><a href="{{ page.url }}" title="Post - {{ page.title }}">{{ page.title }}</a></h2>
|
25
|
+
<h2><a href="{{ site.baseurl }}{{ page.url }}" title="Post - {{ page.title }}">{{ page.title }}</a></h2>
|
26
26
|
{% include post-meta.html %}
|
27
27
|
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
28
28
|
|
data/_includes/post-meta.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
<small class="small post-meta">
|
2
|
-
{% if page.category %}<span class="label label--category"><a href="/categories#{{ page.category | downcase }}">{{ page.category }}</a></span> · {% endif %}<time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{ page.date | date_to_string }}</time>
|
2
|
+
{% if page.category %}<span class="label label--category"><a href="{{ site.baseurl }}/categories#{{ page.category | downcase }}">{{ page.category }}</a></span> · {% endif %}<time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{ page.date | date_to_string }}</time>
|
3
3
|
</small>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<nav class="nav nav--paginator">
|
2
2
|
|
3
3
|
{% if paginator.previous_page %}
|
4
|
-
<a href="{{ paginator.previous_page_path }}" class="pagination pagination--previous">← Previous</a>
|
4
|
+
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="pagination pagination--previous">← Previous</a>
|
5
5
|
{% else %}
|
6
6
|
<span class="pagination pagination--previous">← Previous</span>
|
7
7
|
{% endif %}
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<span class="pagination pagination--counter">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
|
10
10
|
|
11
11
|
{% if paginator.next_page %}
|
12
|
-
<a href="{{ paginator.next_page_path }}" class="pagination pagination--next">Next →</a>
|
12
|
+
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="pagination pagination--next">Next →</a>
|
13
13
|
{% else %}
|
14
14
|
<span class="pagination pagination--next">Next →</span>
|
15
15
|
{% endif %}
|
data/_includes/post-related.html
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<li class="item item--post">
|
6
6
|
<article class="article article--post typeset">
|
7
7
|
|
8
|
-
<h4><a href="{{ page.url }}" title="Related post - {{ page.title }}">{{ page.title }}</a></h4>
|
8
|
+
<h4><a href="{{ site.baseurl }}{{ page.url }}" title="Related post - {{ page.title }}">{{ page.title }}</a></h4>
|
9
9
|
{% include post-meta.html %}
|
10
10
|
{{ page.excerpt | markdownify | truncatewords: 20 }}
|
11
11
|
|
data/_includes/site-logo.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<a class="logo" href="{{ site.
|
2
|
-
<img src="{{ site.logo }}" alt="{{ site.title }} logo"/>
|
1
|
+
<a class="logo" href="{{ site.baseurl }}/" title="{{ site.title }}">
|
2
|
+
<img src="{{ site.baseurl }}{{ site.logo }}" alt="{{ site.title }} logo"/>
|
3
3
|
</a>
|
data/assets/search.json
CHANGED
@@ -13,7 +13,7 @@ sitemap: false
|
|
13
13
|
"title": {{ doc.title | jsonify }},
|
14
14
|
"excerpt": {{ doc.excerpt | markdownify | strip_html | jsonify }},
|
15
15
|
"content": {{ doc.content | markdownify | strip_html | jsonify | replace:'\n',' ' | replace:' ',' ' | replace:' ',' ' }},
|
16
|
-
"url": {{ doc.url | jsonify }}
|
16
|
+
"url": {{ site.baseurl | append: doc.url | jsonify }}
|
17
17
|
},
|
18
18
|
{% endfor %}
|
19
19
|
{% endfor %}
|
@@ -23,7 +23,7 @@ sitemap: false
|
|
23
23
|
"title": {{ page.title | jsonify }},
|
24
24
|
"excerpt": {{ page.excerpt | markdownify | strip_html | jsonify }},
|
25
25
|
"content": {{ page.content | markdownify | strip_html | jsonify | replace:'\n',' ' | replace:' ',' ' | replace:' ',' ' }},
|
26
|
-
"url": {{ page.url | jsonify }}
|
26
|
+
"url": {{ site.baseurl | append: page.url | jsonify }}
|
27
27
|
}{% unless forloop.last %},{% endunless %}
|
28
28
|
{% endfor %}
|
29
29
|
]
|
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: 2.0
|
4
|
+
version: 2.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: 2017-
|
11
|
+
date: 2017-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
version: '0'
|
214
214
|
requirements: []
|
215
215
|
rubyforge_project:
|
216
|
-
rubygems_version: 2.
|
216
|
+
rubygems_version: 2.6.8
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: A Jekyll boilerplate theme designed to be a starting point for any Jekyll
|