urban-static 0.1.6 → 0.1.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/header.html +14 -4
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ac4e1484c1a105d5168673dc5c6ce5e58aad354
4
- data.tar.gz: 7d08bc63d4b4b4ac01dd91a1f744d73d46361561
3
+ metadata.gz: 8a5f10c61ae1bb48afe9b0fda94d47a6f6bc0e99
4
+ data.tar.gz: 9fd0cd4db07732cad6bd27b25b5e0e41417af05a
5
5
  SHA512:
6
- metadata.gz: d9adaa35bc1b7ab16109b1551dc9a17db20532cb64c889550b09a03de26862446c3721dc73bf313cb3133c2a076ad1965bff5c05d0892bfd731bb88fcdd2a723
7
- data.tar.gz: e897384f4799c567e32dc5befd390b20ee19930020fab2be1ecd9b5d25844f050da66b55e41cff5b009648d91ae15580a2211b0146e952024dc1d32a9ebff3fe
6
+ metadata.gz: b16d34d0a566c5022c0c804ad5c9a4764fbbfce1bbf102d673b43d416482afc9a4d08281c84856beddee218ac4015a6c751870e669c145b350236cd226f6c4e9
7
+ data.tar.gz: dc5e73cbe055bd14c8232fb8bfdaef516c50ac56e86a17f5475428b48827abbe97c4840fff79fdf18d052d788f07c884c3e1269ccd1f90452c093b8ba6dfa56d
@@ -7,15 +7,25 @@
7
7
 
8
8
  <h1 class="brand-heading">{{ page.header.title }}</h1>
9
9
  <p class="sub-head">{{ page.header.subtitle }}</p>
10
- {% if page.header.cta %}
11
10
  <p class="intro-text">
11
+ {% if page.header.cta %}
12
+ {% if page.header.cta.first %}
13
+ {% for link in page.header.cta %}
14
+ <div class="col-xs-12 col-md-{{ 12 | divided_by: forloop.length }}">
15
+ <a type="button" name="button" class="btn btn-lg btn-default" href="{{ link }}">
16
+ {{ page.header.subsubtitle[forloop.index0] }}
17
+ </a>
18
+ </div>
19
+ {% endfor %}
20
+ {% else %}
12
21
  <a type="button" name="button" class="btn btn-lg btn-default" href="{{ page.header.cta }}">
13
- {{ page.header.subsubtitle }}
22
+ {{ page.header.subsubtitle }}
14
23
  </a>
15
- </p>
24
+ {% endif %}
16
25
  {% else %}
17
- <p class="intro-text">{{ page.header.subsubtitle }}</p>
26
+ {{ page.header.subsubtitle }}
18
27
  {% endif %}
28
+ </p>
19
29
  {% if page.header.down-arrow %}
20
30
  {% if page.key == "home" %}
21
31
  <a href="#{{ site.site-map[page.key].sections[0] }}" class="btn btn-circle page-scroll">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urban-static
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Miller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-28 00:00:00.000000000 Z
11
+ date: 2018-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  version: '0'
102
102
  requirements: []
103
103
  rubyforge_project:
104
- rubygems_version: 2.0.14.1
104
+ rubygems_version: 2.5.2.3
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Bootstrap based theme, built from a configuration defined in `_config.yml`