fortyone-jekyll-theme 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_includes/_home_tiles.html +6 -3
- data/_layouts/home.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6883b01031366a44e3c97eab78d096cc17d2256e
|
4
|
+
data.tar.gz: f213f9605333b9f76a4172b4e50138ffcc0c14c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4389c31e3363dba888bc2e40e14602fa5d541908eb864d6f93c7af68f83aeebab15b9712a4db9e728758644c384d6aeded4105d8214ad0aeed85d1ccf337ca45
|
7
|
+
data.tar.gz: 8fd9db580a45b341c99200c4583443ba7951dff5a37bdb4ffd31dccecd699a449adf868b1b48bc66621f5eb513bfe7b4523d99f2454c3943cb774560be704d96
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ theme: fortyone-jekyll-theme
|
|
29
29
|
+ `collection` listing all contents of a given collection
|
30
30
|
+ `post` with pagination to navigate through posts
|
31
31
|
+ `page` generic template
|
32
|
-
+ `home` with tiles from pages,or posts, or collections. (setup in _config.yml)
|
32
|
+
+ `home` with tiles from pages,or posts, or collections. (setup in _config.yml or in the page front matter)
|
33
33
|
+ `default` the base template of all layouts
|
34
34
|
+ [Customize the theme's Sass](https://help.github.com/articles/customizing-css-and-html-in-your-jekyll-theme/#customizing-your-jekyll-themes-css)
|
35
35
|
with `sass` variables easily overriden, just set them before `@import "{{ site.theme }}";` [_sass/libs/_vars.scss](https://gitlab.com/agustibr/fortyone-jekyll-theme/blob/master/_sass/libs/_vars.scss)
|
data/_includes/_home_tiles.html
CHANGED
@@ -1,9 +1,12 @@
|
|
1
|
-
{% assign
|
2
|
-
{% assign
|
1
|
+
{% assign tiles_source = page.tiles-source || site.tiles-source %}
|
2
|
+
{% assign tiles_count = page.tiles-count || site.tiles-count %}
|
3
|
+
|
4
|
+
{% assign collection = site.collections | where: "label", tiles_source | first %}
|
5
|
+
{% assign items = collection.docs | limit:tiles_count %}
|
3
6
|
|
4
7
|
<section id="one" class="tiles">
|
5
8
|
{% if site.tiles-source == 'pages' %}
|
6
|
-
{% for page in site.pages limit:
|
9
|
+
{% for page in site.pages limit:tiles_count %}
|
7
10
|
{% include _home_tile.html item= page %}
|
8
11
|
{% endfor %}
|
9
12
|
{% else %}
|
data/_layouts/home.html
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fortyone-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Banchich
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-09-
|
12
|
+
date: 2019-09-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|