openf1-jekyll-theme 0.1.0 → 0.2.0

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: 6db3e3b8015066375d79c2e48977dfac9751256fe5b0ec29bc883d37912524ba
4
- data.tar.gz: f06826a295ef636de735286739c698b098cb616dda508744ed2d2d99f4729eab
3
+ metadata.gz: 57d16936b9f9bcc57ec9bd5989e7a5e62d3233ffbec1efbd422b9dededbe2ba7
4
+ data.tar.gz: 96abc0ef4513256bb232c6654ff7b00dd407c96efb2939c5cd01e594c49d9cb9
5
5
  SHA512:
6
- metadata.gz: 5d5da0dc0b6a78c0ff24c3ea90da15deef5472ce4cdc3f37e2098f9f0e2dac94a0c118dfa9d7d72a71231a86e8708c1a5ce7b88541b145e3ad8d0a7c216b6e7d
7
- data.tar.gz: 6b18567e3696fdc9c5241b6cc1d430e133844c1e508cfa63effcb6d80a30e1bd6fe54a476e6f101ce20e72241c59a48b3d47c51ce9e4f642822253452fbac97b
6
+ metadata.gz: d1d42e56f46f089200c482987d37acbe537b0dd4699ab69df4b856a0f10ca804afb47d7ced5d8147e43b8103085b3bf22901b9f77f647ca42ab46fe3c61d8171
7
+ data.tar.gz: 193f3594f16308c8e356d6bbe57cfedc37998dfc51872c66a9d696acb268fbacfe5ee616b5758a03248d749cf2791cf7515b3c3fa3df707a343ff4e9305f4647
@@ -1,42 +1,33 @@
1
1
  <footer class="stripe stripe-dark" id="footer">
2
2
  <div class="container">
3
3
  <div class="row">
4
+ {% for group in site.data.footlinks %}
4
5
  <div class="col-md-3">
5
- <strong>openf1</strong>
6
+ <strong>
7
+ {% if group.url %}<a href="{{ group.url }}" style="color: inherit">{% endif %}
8
+ {{ group.title }}
9
+ {% if group.url %}</a>{% endif %}
10
+ </strong>
6
11
  <p>
7
- <a href="#">About</a>
8
- <br />
9
- <a href="#">Roadmap</a>
10
- <br />
11
- <a href="#">Blog</a>
12
- </p>
13
- </div>
14
- <div class="col-md-3">
15
- <strong><a href="#" style="color: inherit">Documentation</a></strong>
16
- <p>
17
- <a href="#">Getting started</a>
18
- <br />
19
- <a href="#">GraphQL and integration</a>
20
- </p>
21
- </div>
22
- <div class="col-md-3">
23
- <strong><a href="#" style="color: inherit">Help &amp; Support</a></strong>
24
- <p>
25
- <a href="#" class="external">Problems</a>
26
- <br />
27
- <a href="#" class="external">Suggestions</a>
28
- </p>
29
- </div>
30
- <div class="col-md-3" style="text-align: left">
31
- <strong>Follow us</strong>
32
- <p>
33
- <a href="https://github.com/openf1"><i class="fa fa-fw fa-github" style='color: white'></i> openf1</a>
34
- <!--
35
- <br />
36
- <a href="https://twitter.com/openf1"><i class="fa fa-fw fa-twitter" style='color: rgb(85, 172, 238);'></i> @openf1</a>
37
- -->
12
+ {% for item in group.items %}
13
+ <a href="{{ item.url }}">
14
+ {% if item.fa-icon %}
15
+ {% if item.fa-icon-color== nil %}
16
+ {% assign fa-icon-color = "white" %}
17
+ {% else %}
18
+ {% assign fa-icon-color = item.fa-icon-color %}
19
+ {% endif %}
20
+ <i class="fa fa-fw fa-{{ item.fa-icon }}" style='color:{{ fa-icon-color }};'></i>
21
+ {% endif %}
22
+ {{ item.page }}
23
+ </a>
24
+ {% if forloop.last != true %}
25
+ <br />
26
+ {% endif %}
27
+ {% endfor %}
38
28
  </p>
39
29
  </div>
30
+ {% endfor %}
40
31
  </div>
41
32
  </div>
42
33
  </footer>
@@ -12,11 +12,9 @@
12
12
  <div id="navbar" class="navbar-collapse collapse">
13
13
  <div class="navbar-right">
14
14
  <ul class="nav navbar-nav">
15
- <li class="active"><a href="#">Features</a></li>
16
- <li class=""><a href="#">Docs</a></li>
17
- <li class=""><a href="#">Support</a></li>
18
- <li class=""><a href="#">Blog</a></li>
19
- <li class=""><a href="#">About</a></li>
15
+ {% for link in site.data.navlinks %}
16
+ <li class="{% if link.active %}active{% endif %}"><a href="{{ link.url }}">{{ link.name }}</a></li>
17
+ {% endfor %}
20
18
  </ul>
21
19
  </div>
22
20
  </div>
@@ -25,8 +23,8 @@
25
23
  <span class="sr-only">Toggle navigation</span>
26
24
  <i class="fa fa-bars"></i>
27
25
  </button>
28
- <a href="#" class="btn btn-success btn-small">Sign Up</a>
29
- <a href="#" class="account">
26
+ <a href="{{ site.links.signup_url }}" class="btn btn-success btn-small">Sign Up</a>
27
+ <a href="{{ site.links.signin_url }}" class="account">
30
28
  <i class="fa fa-user-circle" aria-hidden="true"></i>
31
29
  </a>
32
30
  <div class="tooltip">Sign in to your openf1 Account</div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openf1-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Beyls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-15 00:00:00.000000000 Z
11
+ date: 2018-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll