jekyll-theme-centos 0.1.16 → 0.1.21

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: 2cb9d202a1cfdde809005346948663a9c0d46303c15f83ffa4bb7cf4559800a2
4
- data.tar.gz: 57920cafa985eeaca52da778833265536aa338ca1d37445cad4628617dbdba41
3
+ metadata.gz: 7cfe21bafccaec87e2a33f9babebb107b9fea61a2b50c973e1b1dbfe484c1c3c
4
+ data.tar.gz: b608628bba417921beb43814642b2e514371b9920b50721f9922ffbab684bc6d
5
5
  SHA512:
6
- metadata.gz: 39061f97068d0891afba8b0185db7a30bd1b3cb5fc148e85fecd251259ae0347b9ed53efb74423d556529a1c43a2695796e0ceeb269f9f5f393ba327a0bbd07c
7
- data.tar.gz: 848a04b0e1cfd9f6d263ca21a248573a65b5bb73a51f956f70ea675ed24fb5a7e291552f0f3db1ec1f79b8e44017a3a352921609c38942bb8174af1f1fac6f14
6
+ metadata.gz: ec30c5849efca1b3186766dd2a867185eaba72d53d9368194f9725ec45e65474584d9ab270428f572e2d0686b8cfba63039dd6587a3295e3811a834bbaf65b4e
7
+ data.tar.gz: e52aee520c7e702834cb2738ec35e09fff8a36e91595f1ff0e1eda44784a9fd3f4c414c9292646666f861f05a830b9c4261aa267e3c72eee319da18f73abdcb5
@@ -2,8 +2,10 @@
2
2
  <div class="container">
3
3
  <div class="row">
4
4
 
5
- {% assign column = site.navbar | where: "name", site.footer_links.column1 %}
6
- {% for section in column %}
5
+ {% if site.footer.columns %}
6
+ {% for column in site.footer.columns %}
7
+ {% assign links = site.navbar | where: "name", column %}
8
+ {% for section in links %}
7
9
  <section class="links">
8
10
  <h6><i class="{{ section.icon }}"></i> {{ section.name }}</h6>
9
11
  <ul>
@@ -13,24 +15,14 @@
13
15
  </ul>
14
16
  </section>
15
17
  {% endfor %}
16
-
17
- {% assign column = site.navbar | where: "name", site.footer_links.column2 %}
18
- {% for section in column %}
19
- <section class="links">
20
- <h6><i class="{{ section.icon }}"></i> {{ section.name }}</h6>
21
- <ul>
22
- {% for item in section.menu %}
23
- <li><a href="{{ item.link }}">{{ item.name }}</a></li>
24
- {% endfor %}
25
- </ul>
26
- </section>
27
18
  {% endfor %}
19
+ {% endif %}
28
20
 
29
21
  <section class="project">
30
22
  <h4>{{ site.title }}</h4>
31
23
  <p class="lead">{{ site.description }}</p>
32
24
  <div class="lead social">
33
- {% for item in site.footer_links.social %}
25
+ {% for item in site.footer.social %}
34
26
  <a href="{{ item.link }}"><i class="{{ item.icon }}"></i></a>
35
27
  {% endfor %}
36
28
  </div>
@@ -40,7 +32,7 @@
40
32
 
41
33
  <div class="row">
42
34
  <section class="copyright">
43
- <p>Copyright &copy; {{ site.time | date: "%Y" }} {{ site.copyright.author }} {% for item in site.copyright.links %} | <a href="{{ item.link }}">{{ item.text }}</a>{% endfor %}</p>
35
+ <p>Copyright &copy; {{ site.time | date: "%Y" }} {{ site.footer.copyright.author }} {% for item in site.footer.copyright.legals %} | <a href="{{ item.link }}">{{ item.text }}</a>{% endfor %}</p>
44
36
  </section>
45
37
  </div>
46
38
 
@@ -5,10 +5,14 @@
5
5
  <h1>{{ site.title }}</h1>
6
6
  </header>
7
7
  <p class="lead">{{ site.description }}</p>
8
+ {% if site.header.preamble %}
8
9
  <p class="lead">{{ site.header.preamble }}</p>
10
+ {% endif %}
11
+ {% if site.header.worklines %}
9
12
  {% for item in site.header.worklines %}
10
13
  <a class="btn btn-light btn-lg" role="button" href="{{ item.link }}"><i class="{{ item.icon }}"></i> <strong>{{ item.name }}</strong></a>
11
14
  {% endfor %}
15
+ {% endif %}
12
16
  </div>
13
17
  </div>
14
18
  </div>
@@ -3,12 +3,16 @@
3
3
  <h2><i class="fas fa-calendar-alt"></i> News and events</h2>
4
4
  </header>
5
5
 
6
- <div class="card">
7
- <ul class="card-body">
8
- {% for i in site.posts limit:5 %}
9
- <a href="{{ i.url }}"><li class="card-title">{{ i.title }}</li></a>
10
- {% endfor %}
11
- </ul>
6
+ {% assign news = site.posts | where: "category", "news" %}
7
+ {% assign events = site.posts | where: "category", "events" %}
8
+ {% assign news_and_events = news | concat: events %}
9
+ {% for i in news_and_events limit:3 %}
10
+ <div class="row">
11
+ <div class="col">
12
+ <h4>{{ i.title }}</h4>
13
+ {{ i.content }}
14
+ </div>
12
15
  </div>
16
+ {% endfor %}
13
17
 
14
18
  </section>
@@ -1,6 +1,6 @@
1
1
  <nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
2
2
  <div class="container">
3
- <a class="navbar-brand" href="{{ site.navbar-brand.link }}"><img src="{{ site.navbar-brand.path }}" height="32" alt="{{ site.navbar-brand.name }}"></a>
3
+ <a class="navbar-brand" href="{{ site.identity.logo.link }}"><img src="{{ site.identity.logo.image }}" height="32" alt="{{ site.title }}"></a>
4
4
  <button data-toggle="collapse" class="navbar-toggler" data-target="#navcol-1"><span class="sr-only">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
5
5
  <div class="collapse navbar-collapse" id="navcol-1">
6
6
  <ul class="nav navbar-nav ml-auto">
@@ -95,10 +95,10 @@
95
95
  {% endif %}{% endcapture %}
96
96
 
97
97
  {% if my_toc != "" %}
98
- <section class="toc">
99
98
  <header>
100
99
  <h6>Contents:</h6>
101
100
  </header>
101
+ <section class="toc">
102
102
 
103
103
  {% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
104
104
  </section>
@@ -13,7 +13,7 @@ layout: default
13
13
  </div>
14
14
 
15
15
  <div class="col text-right">
16
- <a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-dark"><i class="fas fa-rss"></i> Subscribe</button></a>
16
+ <a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-light"><i class="fas fa-rss"></i></button></a>
17
17
  </div>
18
18
 
19
19
  </div>
@@ -3,3 +3,4 @@
3
3
  @import "mixins/_page-card";
4
4
  @import "mixins/_page-toc";
5
5
  @import "mixins/_link-dark";
6
+ @import "mixins/_before-angle-right";
@@ -78,35 +78,20 @@
78
78
  }
79
79
 
80
80
  .news {
81
- @extend .col-md-8, .col-lg-8;
82
- .card {
83
- border: none;
84
- margin-left: 15px;
85
- &-title {
86
- font-size: $h5-font-size;
87
- }
88
- &-body {
89
- list-style: none;
90
- padding: 0;
91
- li {
92
- padding: 0.5em;
93
- }
94
- }
81
+ @extend .col;
82
+ .row {
83
+ @extend .row;
84
+ padding-left: 24px;
95
85
  }
96
- .card-title {
97
- list-style: none;
98
- &:before {
99
- @extend .fas;
100
- color: $nord-color-4;
101
- margin-right: 0.5em;
102
- margin-left: -1em;
103
- content: fa-content($fa-var-angle-right);
104
- }
86
+ h4 {
87
+ @include before-angle-right;
88
+ font-weight: normal;
105
89
  }
90
+
106
91
  }
107
92
 
108
93
  .around {
109
- @extend .col-md-12, .col-lg-12;
94
+ @extend .col-lg-12;
110
95
  margin-top: 1em;
111
96
  }
112
97
 
@@ -115,15 +100,15 @@
115
100
  }
116
101
 
117
102
  .article {
118
- @extend .col-md-12, .col-lg-12;
103
+ @extend .col-lg-12;
119
104
  @include page-lists;
120
105
  }
121
106
 
122
107
  .blog {
123
- @extend .col-md-12, .col-lg-12;
108
+ @extend .col-lg-12;
124
109
 
125
110
  .card {
126
- @extend .col-md-6;
111
+ @extend .col-lg-6;
127
112
  @include page-card;
128
113
  a {
129
114
  display: block;
@@ -160,13 +145,7 @@
160
145
  list-style: none;
161
146
  margin-top: 1em;
162
147
  margin-left: 1em;
163
- &:before {
164
- @extend .fas;
165
- color: $nord-color-4;
166
- margin-right: 0.5em;
167
- margin-left: -1em;
168
- content: fa-content($fa-var-angle-right);
169
- }
148
+ @include before-angle-right;
170
149
  }
171
150
  }
172
151
 
@@ -182,9 +161,9 @@
182
161
 
183
162
  .aside-navigation {
184
163
  @extend .container;
185
- @extend .col-md-4, .col-lg-4;
164
+ @extend .col-lg-4;
186
165
  font-size: small;
187
- @include media-breakpoint-up(md) {
166
+ @include media-breakpoint-up(lg) {
188
167
  align-self: start;
189
168
  position: sticky;
190
169
  top: 90px;
@@ -192,7 +171,7 @@
192
171
 
193
172
  .toc {
194
173
  @include page-toc;
195
- @include media-breakpoint-up(md) {
174
+ @include media-breakpoint-up(lg) {
196
175
  display: flex;
197
176
  flex-direction: column;
198
177
  max-height: 75vh;
@@ -202,7 +181,7 @@
202
181
  }
203
182
 
204
183
  .aside-article {
205
- @extend .col-md-8, .col-lg-8;
184
+ @extend .col-lg-8;
206
185
  @include page-lists;
207
186
  }
208
187
 
@@ -210,7 +189,7 @@
210
189
  @extend .container;
211
190
 
212
191
  .card {
213
- @extend .col-md-6;
192
+ @extend .col-lg-6;
214
193
  @include page-card;
215
194
  .tab-content {
216
195
  table {
@@ -227,7 +206,7 @@
227
206
 
228
207
  .sponsors {
229
208
  &.carousel {
230
- @extend .col-md-4;
209
+ @extend .col-lg-4;
231
210
  }
232
211
  .card {
233
212
  margin: 1em;
@@ -0,0 +1,9 @@
1
+ @mixin before-angle-right {
2
+ &:before {
3
+ @extend .fas;
4
+ color: $nord-color-4;
5
+ margin-right: 0.5em;
6
+ margin-left: -1em;
7
+ content: fa-content($fa-var-angle-right);
8
+ }
9
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-20 00:00:00.000000000 Z
11
+ date: 2020-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -212,6 +212,7 @@ files:
212
212
  - _sass/centos/_variables.scss
213
213
  - _sass/centos/centos.scss
214
214
  - _sass/centos/fonts/_montserrat.scss
215
+ - _sass/centos/mixins/_before-angle-right.scss
215
216
  - _sass/centos/mixins/_link-dark.scss
216
217
  - _sass/centos/mixins/_page-card.scss
217
218
  - _sass/centos/mixins/_page-heading.scss