fortyone-jekyll-theme 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/_includes/_nav_footer.html +71 -0
- data/_includes/_nav_menu.html +50 -0
- data/_includes/footer.html +1 -53
- data/_includes/header.html +1 -51
- data/_sass/layout/_footer.scss +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0745695a72f470a4ecdb96a47d18cc388826a28
|
4
|
+
data.tar.gz: 9d5df664b3d5a9ac97ddcbf64234c56e61658b6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34aef93226de5e4be6caec6d04613fce556e2f275559e225428091c6a96d547352afbd73fb9259cfb93449d7f0ca6085762044bcae4eccc10d8d0dd95a3315a5
|
7
|
+
data.tar.gz: 74ccd61cce5f6a0ff8198e85b63401f92f4e37ea525fc7e37dee63e16510452d1059c0bb36fe3dde47035021c46a9a8d44cc152cc22edea9066f20710c66538e
|
data/README.md
CHANGED
@@ -31,6 +31,9 @@ theme: fortyone-jekyll-theme
|
|
31
31
|
+ `page` generic template
|
32
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
|
+
+ navs:
|
35
|
+
+ `nav_menu`, use `nav-menu: true` in the front matter
|
36
|
+
+ `nav_footer`, use `nav-footer: true` in the front matter
|
34
37
|
+ [Customize the theme's Sass](https://help.github.com/articles/customizing-css-and-html-in-your-jekyll-theme/#customizing-your-jekyll-themes-css)
|
35
38
|
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)
|
36
39
|
|
@@ -0,0 +1,71 @@
|
|
1
|
+
{% assign menu_links = site.pages | where: "nav-footer", true | sort: 'order' %}
|
2
|
+
|
3
|
+
<!-- Footer -->
|
4
|
+
<footer id="footer">
|
5
|
+
<div class="inner">
|
6
|
+
<ul class="icons">
|
7
|
+
{% if site.twitter_url %}
|
8
|
+
<li><a href="{{ site.twitter_url }}" class="icon alt fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if site.googleplus_url %}
|
12
|
+
<li><a href="{{ site.googleplus_url }}" class="icon alt fa-google-plus" target="_blank"><span class="label">Google+</span></a></li>
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
{% if site.facebook_url %}
|
16
|
+
<li><a href="{{ site.facebook_url }}" class="icon alt fa-facebook" target="_blank"><span class="label">Facebook</span></a></li>
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if site.instagram_url %}
|
20
|
+
<li><a href="{{ site.instagram_url }}" class="icon alt fa-instagram" target="_blank"><span class="label">Instagram</span></a></li>
|
21
|
+
{% endif %}
|
22
|
+
|
23
|
+
{% if site.pinterest_url %}
|
24
|
+
<li><a href="{{ site.pinterest_url }}" class="icon alt fa-pinterest" target="_blank"><span class="label">Pinterest</span></a></li>
|
25
|
+
{% endif %}
|
26
|
+
|
27
|
+
{% if site.500px_url %}
|
28
|
+
<li><a href="{{ site.500px_url }}" class="icon alt fa-500px" target="_blank"><span class="label">500px</span></a></li>
|
29
|
+
{% endif %}
|
30
|
+
|
31
|
+
{% if site.gitlab_url %}
|
32
|
+
<li><a href="{{ site.gitlab_url }}" class="icon alt fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
|
33
|
+
{% endif %}
|
34
|
+
|
35
|
+
{% if site.github_url %}
|
36
|
+
<li><a href="{{ site.github_url }}" class="icon alt fa-github" target="_blank"><span class="label">GitHub</span></a></li>
|
37
|
+
{% endif %}
|
38
|
+
|
39
|
+
{% if site.slack_url %}
|
40
|
+
<li><a href="{{ site.slack_url }}" class="icon alt fa-slack" target="_blank"><span class="label">Slack</span></a></li>
|
41
|
+
{% endif %}
|
42
|
+
|
43
|
+
{% if site.linkedin_url %}
|
44
|
+
<li><a href="{{ site.linkedin_url }}" class="icon alt fa-linkedin" target="_blank"><span class="label">LinkedIn</span></a></li>
|
45
|
+
{% endif %}
|
46
|
+
</ul>
|
47
|
+
|
48
|
+
{% if menu_links %}
|
49
|
+
<ul class="">
|
50
|
+
{% for link in menu_links %}
|
51
|
+
{% if link.title %}
|
52
|
+
<li>
|
53
|
+
<a href="{{ link.url | relative_url }}">
|
54
|
+
{{ link.title }}
|
55
|
+
</a>
|
56
|
+
</li>
|
57
|
+
{% endif %}
|
58
|
+
{% endfor %}
|
59
|
+
</ul>
|
60
|
+
{% endif %}
|
61
|
+
|
62
|
+
<ul class="copyright">
|
63
|
+
<li>© {{ site.title }} {{ site.subtitle }}</li>
|
64
|
+
<li>Design: <a href="https://html5up.net" target="_blank">HTML5 UP</a></li>
|
65
|
+
<li>Jekyll integration: <a href="http://andrewbanchi.ch" target="_blank">Andrew Banchich</a>, <a href="http://agusti.cat" target="_blank">Agustí B.R.</a></li>
|
66
|
+
|
67
|
+
</ul>
|
68
|
+
|
69
|
+
|
70
|
+
</div>
|
71
|
+
</footer>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{% assign menu_home = site.pages | where: "layout", "home" | first %}
|
2
|
+
{% assign menu_links = site.pages | where: "nav-menu", true | sort: 'order' %}
|
3
|
+
{% assign menu_cta_links = site.pages | where: "nav-menu-cta", true | sort: 'order' %}
|
4
|
+
|
5
|
+
<!-- Menu -->
|
6
|
+
<nav id="menu">
|
7
|
+
{% if menu_home %}
|
8
|
+
<ul class="actions vertical">
|
9
|
+
<li>
|
10
|
+
<a href="{{ menu_home.url }}" class="button special fit small">
|
11
|
+
{{ menu_home.title }}
|
12
|
+
</a>
|
13
|
+
</li>
|
14
|
+
</ul>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
{% if menu_links %}
|
18
|
+
<ul class="links">
|
19
|
+
{% for link in menu_links %}
|
20
|
+
{% if link.title %}
|
21
|
+
<li>
|
22
|
+
<a href="{{ link.url | relative_url }}">
|
23
|
+
{{ link.title }}
|
24
|
+
</a>
|
25
|
+
</li>
|
26
|
+
{% endif %}
|
27
|
+
{% endfor %}
|
28
|
+
</ul>
|
29
|
+
{% endif %}
|
30
|
+
|
31
|
+
{% if menu_cta_links or site.nav-menu-cta %}
|
32
|
+
<ul class="actions vertical">
|
33
|
+
{% for link in menu_cta_links %}
|
34
|
+
<li>
|
35
|
+
<a href="{{ link.url | relative_url }}" class="button fit">
|
36
|
+
{{ link.title }}
|
37
|
+
</a>
|
38
|
+
</li>
|
39
|
+
{% endfor %}
|
40
|
+
|
41
|
+
{% for link in site.nav-menu-cta %}
|
42
|
+
<li>
|
43
|
+
<a href="{{ link.url | relative_url }}" class="button fit">
|
44
|
+
{{ link.title }}
|
45
|
+
</a>
|
46
|
+
</li>
|
47
|
+
{% endfor %}
|
48
|
+
</ul>
|
49
|
+
{% endif %}
|
50
|
+
</nav>
|
data/_includes/footer.html
CHANGED
@@ -118,59 +118,7 @@
|
|
118
118
|
</div>
|
119
119
|
</section>
|
120
120
|
|
121
|
-
|
122
|
-
<footer id="footer">
|
123
|
-
<div class="inner">
|
124
|
-
<ul class="icons">
|
125
|
-
{% if site.twitter_url %}
|
126
|
-
<li><a href="{{ site.twitter_url }}" class="icon alt fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
|
127
|
-
{% endif %}
|
128
|
-
|
129
|
-
{% if site.googleplus_url %}
|
130
|
-
<li><a href="{{ site.googleplus_url }}" class="icon alt fa-google-plus" target="_blank"><span class="label">Google+</span></a></li>
|
131
|
-
{% endif %}
|
132
|
-
|
133
|
-
{% if site.facebook_url %}
|
134
|
-
<li><a href="{{ site.facebook_url }}" class="icon alt fa-facebook" target="_blank"><span class="label">Facebook</span></a></li>
|
135
|
-
{% endif %}
|
136
|
-
|
137
|
-
{% if site.instagram_url %}
|
138
|
-
<li><a href="{{ site.instagram_url }}" class="icon alt fa-instagram" target="_blank"><span class="label">Instagram</span></a></li>
|
139
|
-
{% endif %}
|
140
|
-
|
141
|
-
{% if site.pinterest_url %}
|
142
|
-
<li><a href="{{ site.pinterest_url }}" class="icon alt fa-pinterest" target="_blank"><span class="label">Pinterest</span></a></li>
|
143
|
-
{% endif %}
|
144
|
-
|
145
|
-
{% if site.500px_url %}
|
146
|
-
<li><a href="{{ site.500px_url }}" class="icon alt fa-500px" target="_blank"><span class="label">500px</span></a></li>
|
147
|
-
{% endif %}
|
148
|
-
|
149
|
-
{% if site.gitlab_url %}
|
150
|
-
<li><a href="{{ site.gitlab_url }}" class="icon alt fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
|
151
|
-
{% endif %}
|
152
|
-
|
153
|
-
{% if site.github_url %}
|
154
|
-
<li><a href="{{ site.github_url }}" class="icon alt fa-github" target="_blank"><span class="label">GitHub</span></a></li>
|
155
|
-
{% endif %}
|
156
|
-
|
157
|
-
{% if site.slack_url %}
|
158
|
-
<li><a href="{{ site.slack_url }}" class="icon alt fa-slack" target="_blank"><span class="label">Slack</span></a></li>
|
159
|
-
{% endif %}
|
160
|
-
|
161
|
-
{% if site.linkedin_url %}
|
162
|
-
<li><a href="{{ site.linkedin_url }}" class="icon alt fa-linkedin" target="_blank"><span class="label">LinkedIn</span></a></li>
|
163
|
-
{% endif %}
|
164
|
-
</ul>
|
165
|
-
|
166
|
-
<ul class="copyright">
|
167
|
-
<li>© {{ site.title }} {{ site.subtitle }}</li>
|
168
|
-
<li>Design: <a href="https://html5up.net" target="_blank">HTML5 UP</a></li>
|
169
|
-
<li>Jekyll integration: <a href="http://andrewbanchi.ch" target="_blank">Andrew Banchich</a>, <a href="http://agusti.cat" target="_blank">Agustí B.R.</a></li>
|
170
|
-
|
171
|
-
</ul>
|
172
|
-
</div>
|
173
|
-
</footer>
|
121
|
+
{% include _nav_footer.html %}
|
174
122
|
|
175
123
|
<!-- Scripts -->
|
176
124
|
<script src="{{ "assets/js/jquery.min.js" | absolute_url }}"></script>
|
data/_includes/header.html
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
{% assign menu_home = site.pages | where: "layout", "home" | first %}
|
2
|
-
{% assign menu_links = site.pages | where: "nav-menu", true | sort: 'order' %}
|
3
|
-
{% assign menu_cta_links = site.pages | where: "nav-menu-cta", true | sort: 'order' %}
|
4
|
-
|
5
1
|
<!-- Header -->
|
6
2
|
<header id="header"{% if page.layout == "landing" %} class="alt style{{ page.style }}"{% endif %}{% if page.layout == "home" %} class="alt"{% endif %}>
|
7
3
|
<a href="{{ "" | absolute_url }}/" class="logo"><strong>{{ site.title }}</strong> <span>{{ site.subtitle }}</span></a>
|
@@ -13,50 +9,4 @@
|
|
13
9
|
</a>
|
14
10
|
</nav>
|
15
11
|
</header>
|
16
|
-
|
17
|
-
<!-- Menu -->
|
18
|
-
<nav id="menu">
|
19
|
-
{% if menu_home %}
|
20
|
-
<ul class="actions vertical">
|
21
|
-
<li>
|
22
|
-
<a href="{{ menu_home.url }}" class="button special fit small">
|
23
|
-
{{ menu_home.title }}
|
24
|
-
</a>
|
25
|
-
</li>
|
26
|
-
</ul>
|
27
|
-
{% endif %}
|
28
|
-
|
29
|
-
{% if menu_links %}
|
30
|
-
<ul class="links">
|
31
|
-
{% for link in menu_links %}
|
32
|
-
{% if link.title %}
|
33
|
-
<li>
|
34
|
-
<a href="{{ link.url | relative_url }}">
|
35
|
-
{{ link.title }}
|
36
|
-
</a>
|
37
|
-
</li>
|
38
|
-
{% endif %}
|
39
|
-
{% endfor %}
|
40
|
-
</ul>
|
41
|
-
{% endif %}
|
42
|
-
|
43
|
-
{% if menu_cta_links or site.nav-menu-cta %}
|
44
|
-
<ul class="actions vertical">
|
45
|
-
{% for link in menu_cta_links %}
|
46
|
-
<li>
|
47
|
-
<a href="{{ link.url | relative_url }}" class="button fit">
|
48
|
-
{{ link.title }}
|
49
|
-
</a>
|
50
|
-
</li>
|
51
|
-
{% endfor %}
|
52
|
-
|
53
|
-
{% for link in site.nav-menu-cta %}
|
54
|
-
<li>
|
55
|
-
<a href="{{ link.url | relative_url }}" class="button fit">
|
56
|
-
{{ link.title }}
|
57
|
-
</a>
|
58
|
-
</li>
|
59
|
-
{% endfor %}
|
60
|
-
</ul>
|
61
|
-
{% endif %}
|
62
|
-
</nav>
|
12
|
+
{% include _nav_menu.html %}
|
data/_sass/layout/_footer.scss
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.3
|
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-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -53,6 +53,8 @@ files:
|
|
53
53
|
- _includes/_landing_downlighted_item.html
|
54
54
|
- _includes/_landing_highlighted_item.html
|
55
55
|
- _includes/_landing_item.html
|
56
|
+
- _includes/_nav_footer.html
|
57
|
+
- _includes/_nav_menu.html
|
56
58
|
- _includes/_t.html
|
57
59
|
- _includes/footer.html
|
58
60
|
- _includes/head.html
|