alembic-jekyll-theme 0.1.1 → 0.1.2

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: 326f2eef26e62cf8c816d14088eb501050e069ec
4
- data.tar.gz: 46f9c5c6abb5eeb12068ea98c1c9e77ec431078c
3
+ metadata.gz: b154dc633509f1e8c077176b04fc8beb596f9146
4
+ data.tar.gz: f8acaa96aefa7761be837206f1c6578b0b9227cb
5
5
  SHA512:
6
- metadata.gz: c7d5c97f7f12498ef9d3a0837f640230c97d3fcfa08ac0f3150679c0c9020e15fa2b5990bbc314d452cbfbb0b036529bf3fd2a39035152207bfaeb3324912324
7
- data.tar.gz: 0bfb88beee07eb501dded108aa9fc5a8321def453f231b1eface6dee8fa7520f5bd1e4c3fb1468bde55d18d592e47f600fee21bd4d025661bbddb614de9a8cfd
6
+ metadata.gz: 9b6335df9c27c2054ce143d6e4463cf4f83ac7960e402ee03f7cc39bf4c6d8b2044003e4a3513314be4733d2faf4a938c17482d6a1e6eed4ba2784d5f0c99f97
7
+ data.tar.gz: c99f097fb128822fb61effe554d3bca5eeabbd8ea2a95126df3cd0ee7bec6da7c60d417502c5c0536d8dbacd7a43ba3818f0f54572ebb7e0132d5d8fc6fa60ff
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
1
  # [Alembic](https://alembic.darn.es/)
2
+ [![Gem Version](https://badge.fury.io/rb/alembic-jekyll-theme.svg)](https://badge.fury.io/rb/alembic-jekyll-theme)
3
+
2
4
  ⚗ A Jekyll boilerplate theme designed to be a starting point for any Jekyll website.
3
5
 
4
6
  ![Screenshot](https://raw.githubusercontent.com/daviddarnes/alembic/master/screenshot.png)
@@ -2,15 +2,15 @@
2
2
  <h2>About this site</h2>
3
3
  <p>{{ site.description }}</p>
4
4
 
5
- {% if page.is_page %}
6
- {% unless paginator.posts %}
5
+ {% unless paginator.posts %}
6
+ {% if page.collection == "posts" %}
7
+ {% include post-related.html %}
8
+ {% else %}
7
9
  {% include post-list.html %}
8
- {% endunless %}
9
- {% else %}
10
- {% include post-related.html %}
11
- {% endif %}
10
+ {% endif %}
11
+ {% endunless %}
12
12
 
13
- {% if page.is_post or paginator.posts %}
13
+ {% if page.collection == "posts" or paginator.posts %}
14
14
  {% include button.html text="Subscribe to posts &nbsp;" icon="rss" link="/feed.xml" %}
15
15
  {% endif %}
16
16
 
@@ -1,17 +1,15 @@
1
1
  {% assign feature_text = page.feature_text %}
2
2
  {% assign feature_image = page.feature_image %}
3
- {% if page.collection and page.is_page %}
4
- {% assign collectiondata = site.collections | where: "label", page.collection | first %}
3
+ {% if page.collectionpage %}
4
+ {% assign collectiondata = site.collections | where: "label", page.collectionpage | first %}
5
5
  {% assign feature_text = collectiondata.feature_text %}
6
6
  {% assign feature_image = collectiondata.feature_image %}
7
7
  {% endif %}
8
8
 
9
9
  {% if feature_text or feature_image %}
10
10
  <div class="feature"{% if feature_image %} style="background-image: url({{ feature_image }})"{% endif %}>
11
- {% if feature_text %}
12
11
  <div class="container typeset">
13
12
  {{ feature_text | markdownify }}
14
13
  </div>
15
- {% endif %}
16
14
  </div>
17
15
  {% endif %}
data/assets/styles.scss CHANGED
@@ -58,6 +58,7 @@ body {
58
58
  @include flexbox;
59
59
  .container {
60
60
  min-height: 35vh;
61
+ max-width: 60%;
61
62
  @include flex-direction(column);
62
63
  @include justify-content(center);
63
64
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alembic-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Darnes
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  requirements: []
197
197
  rubyforge_project:
198
- rubygems_version: 2.5.1
198
+ rubygems_version: 2.4.5
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: A Jekyll boilerplate designed to be a starting point for any Jekyll website.