tramway-landing 1.1 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce8a0946e2951036a5e13b00dd2d7ef9530049898ace4830ffa5e9ac9877fb4e
|
4
|
+
data.tar.gz: 6594f97171b832057482d751a704b449d74b69a0561bd6220ea5b9c195a32a00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13d1c8fd12f4aa1131b7bad9a9d7672b21f5c6f2167867d9375a17840e8773f3875b7bf3b2a2093b73414d2e241792d526d4e81cdfda2b8cdaa8d95dbd6832a5
|
7
|
+
data.tar.gz: a3e27939d728b673c0d3d9b30d317d9664e9f5c2fc95137f287e65e2aca2897b9ebbc03a0883b5834301fbb2e5fc67f09440c13cffa00a85558e1997bef70864
|
@@ -20,8 +20,11 @@
|
|
20
20
|
%main{ class: ('mt-5' if @blocks&.any?) }
|
21
21
|
.container
|
22
22
|
- if @blocks&.any?
|
23
|
-
- (@blocks - [@blocks.header] - [@blocks.footer])
|
23
|
+
- array_of_blocks = (@blocks - [@blocks.header] - [@blocks.footer])
|
24
|
+
- array_of_blocks.each_with_index do |block, index|
|
24
25
|
= render "tramway/landing/blocks/block_types/#{block.block_type}", block: block
|
26
|
+
- if index < array_of_blocks.count - 1
|
27
|
+
%hr
|
25
28
|
.container-fluid
|
26
29
|
= yield
|
27
30
|
- if @blocks&.any?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-landing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|