jekyll-theme-centos 0.1.11 → 0.1.16

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: 7d32e3499d28481d194b43064a62cebb87f2d89b4bbcd4be844a12c74f311c72
4
- data.tar.gz: 5117a2e3cac4d035c8acefbd1c5542f999d311cf1467811f019d31cb98c7a396
3
+ metadata.gz: 2cb9d202a1cfdde809005346948663a9c0d46303c15f83ffa4bb7cf4559800a2
4
+ data.tar.gz: 57920cafa985eeaca52da778833265536aa338ca1d37445cad4628617dbdba41
5
5
  SHA512:
6
- metadata.gz: f442d19e7c9e9e6de1d6dba471b8b6593ca049fe377d631f3c511ac81f228d7d710d51e88d7853aa544e25eedf7555b7d7d76044d47508883999c8667fe4e974
7
- data.tar.gz: 4f055b3132b6ba93294830d763cebdd167de48f7722ccd3185143f21fbda4752305bb9ce07f3fe332a1d3bf2a3b6052ed76601e8c3f4461a7424aee4ac9176a6
6
+ metadata.gz: 39061f97068d0891afba8b0185db7a30bd1b3cb5fc148e85fecd251259ae0347b9ed53efb74423d556529a1c43a2695796e0ceeb269f9f5f393ba327a0bbd07c
7
+ data.tar.gz: 848a04b0e1cfd9f6d263ca21a248573a65b5bb73a51f956f70ea675ed24fb5a7e291552f0f3db1ec1f79b8e44017a3a352921609c38942bb8174af1f1fac6f14
@@ -1,42 +1,48 @@
1
1
  <footer class="footer">
2
2
  <div class="container">
3
- <div class="row justify-content-center">
4
- <section class="about">
5
- <h4>About</h4>
3
+ <div class="row">
4
+
5
+ {% assign column = site.navbar | where: "name", site.footer_links.column1 %}
6
+ {% for section in column %}
7
+ <section class="links">
8
+ <h6><i class="{{ section.icon }}"></i> {{ section.name }}</h6>
6
9
  <ul>
7
- <li><a href="/about">About CentOS</a></li>
8
- <li><a href="https://wiki.centos.org/FAQ">Frequently Asked Questions (FAQs)</a></li>
9
- <li><a href="https://wiki.centos.org/SpecialInterestGroups">Special Interest Groups (SIGs)</a></li>
10
- <li><a href="/variants">CentOS Variants</a></li>
11
- <li><a href="/about/governance">Governance</a></li>
10
+ {% for item in section.menu %}
11
+ <li><a href="{{ item.link }}">{{ item.name }}</a></li>
12
+ {% endfor %}
12
13
  </ul>
13
14
  </section>
14
- <section class="community">
15
- <h4>Community</h4>
15
+ {% 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>
16
21
  <ul>
17
- <li><a href="https://wiki.centos.org/Contribute">Contribute</a></li>
18
- <li><a href="https://www.centos.org/forums/">Forums</a></li>
19
- <li><a href="https://wiki.centos.org/GettingHelp/ListInfo">Mailing Lists</a></li>
20
- <li><a href="https://wiki.centos.org/irc">IRC</a></li>
21
- <li><a href="/community/calendar/">Calendar &amp; IRC Meeting List</a></li>
22
- <li><a href="http://planet.centos.org/">Planet</a></li>
23
- <li><a href="https://bugs.centos.org/">Submit Bug</a></li>
22
+ {% for item in section.menu %}
23
+ <li><a href="{{ item.link }}">{{ item.name }}</a></li>
24
+ {% endfor %}
24
25
  </ul>
25
26
  </section>
27
+ {% endfor %}
28
+
26
29
  <section class="project">
27
- <h4>The CentOS Project</h4>
28
- <p class="lead">Community-driven free software effort focused on delivering a robust open source ecosystem around a Linux platform.</p>
30
+ <h4>{{ site.title }}</h4>
31
+ <p class="lead">{{ site.description }}</p>
29
32
  <div class="lead social">
30
- <a href="https://www.facebook.com/groups/centosproject/"><i class="fab fa-facebook-f"></i></a>
31
- <a href="https://twitter.com/centosproject"><i class="fab fa-twitter"></i></a>
32
- <a href="https://youtube.com/TheCentOSProject"><i class="fab fa-youtube"></i></a>
33
- <a href="https://www.linkedin.com/groups/22405"><i class="fab fa-linkedin"></i></a>
34
- <a href="https://www.reddit.com/r/CentOS/"><i class="fab fa-reddit"></i></a>
33
+ {% for item in site.footer_links.social %}
34
+ <a href="{{ item.link }}"><i class="{{ item.icon }}"></i></a>
35
+ {% endfor %}
35
36
  </div>
36
37
  </section>
38
+
39
+ </div>
40
+
41
+ <div class="row">
37
42
  <section class="copyright">
38
- <p>Copyright &copy; 2020 The CentOS Project | <a href="/legal">Legal</a> | <a href="/legal/privacy">Privacy</a> | <a href="https://git.centos.org/centos/centos.org">Site Source</a></p>
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>
39
44
  </section>
40
45
  </div>
46
+
41
47
  </div>
42
48
  </footer>
@@ -3,7 +3,7 @@
3
3
  {% include header/home.html %}
4
4
  {% elsif page.layout == "blog" %}
5
5
  {% include header/blog.html %}
6
- {% elsif page.layout == "blog-post" %}
6
+ {% elsif page.layout == "post" %}
7
7
  {% include header/post.html %}
8
8
  {% else %}
9
9
  {% include header/page.html %}
@@ -2,12 +2,13 @@
2
2
  <div class="row">
3
3
  <div class="col-7">
4
4
  <header>
5
- <h1>{{ page.title }}</h1>
5
+ <h1>{{ site.title }}</h1>
6
6
  </header>
7
- <p class="lead">{{ page.title_lead }}</p>
8
- <p class="lead">We offer two Linux distros:</p>
9
- <a class="btn btn-light btn-lg" role="button" href="/centos-linux"><i class="fas fa-download"></i> <strong>CentOS Linux</strong></a>
10
- <a class="btn btn-light btn-lg" role="button" href="/centos-stream"><i class="fas fa-download"></i> <strong>CentOS Stream</strong></a>
7
+ <p class="lead">{{ site.description }}</p>
8
+ <p class="lead">{{ site.header.preamble }}</p>
9
+ {% for item in site.header.worklines %}
10
+ <a class="btn btn-light btn-lg" role="button" href="{{ item.link }}"><i class="{{ item.icon }}"></i> <strong>{{ item.name }}</strong></a>
11
+ {% endfor %}
11
12
  </div>
12
13
  </div>
13
14
  </div>
@@ -0,0 +1,23 @@
1
+ <nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
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>
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
+ <div class="collapse navbar-collapse" id="navcol-1">
6
+ <ul class="nav navbar-nav ml-auto">
7
+ {% for nav-item in site.navbar %}
8
+ {% if nav-item.menu.size == 0 %}
9
+ <li class="nav-item" role="presentation"><a class="nav-link" href="{{ nav-item.link }}"><i class="{{ nav-item.icon }}"></i> {{ nav-item.name }}</a></li>
10
+ {% else %}
11
+ <li class="nav-item dropdown"><a class="dropdown-toggle nav-link" data-toggle="dropdown" aria-expanded="false" href="#"><i class="{{ nav-item.icon }}"></i> {{ nav-item.name }}</a>
12
+ <div class="dropdown-menu" role="menu">
13
+ {% for dropdown-item in nav-item.menu %}
14
+ <a class="dropdown-item" role="presentation" href="{{ dropdown-item.link }}">{{ dropdown-item.name }}</a>
15
+ {% endfor %}
16
+ </div>
17
+ </li>
18
+ {% endif %}
19
+ {% endfor %}
20
+ </ul>
21
+ </div>
22
+ </div>
23
+ </nav>
@@ -46,12 +46,12 @@ layout: default
46
46
  <div class="paginator">
47
47
  {% if paginator.previous_page %}
48
48
  <span class="newer">
49
- <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}"><i class="fas fa-arrow-left"></i> Newer</a>
49
+ <a href="{{ paginator.previous_page_path }}"><i class="fas fa-arrow-left"></i> Newer</a>
50
50
  </span>
51
51
  {% endif %}
52
52
  {% if paginator.next_page %}
53
53
  <span class="older">
54
- <a href="{{ paginator.next_page_path | prepend: site.baseurl }}"> Older <i class="fas fa-arrow-right"></i></a>
54
+ <a href="{{ paginator.next_page_path }}"> Older <i class="fas fa-arrow-right"></i></a>
55
55
  </span>
56
56
  {% endif %}
57
57
  </div>
@@ -4,7 +4,7 @@
4
4
  {% include head.html -%}
5
5
 
6
6
  <body>
7
- {% include nav.html -%}
7
+ {% include navbar.html -%}
8
8
  {% include header.html -%}
9
9
 
10
10
  {{ content }}
@@ -5,7 +5,7 @@
5
5
 
6
6
  <body>
7
7
 
8
- {% include nav.html -%}
8
+ {% include navbar.html -%}
9
9
  {% include header.html -%}
10
10
 
11
11
  <main class="page">
@@ -5,7 +5,7 @@
5
5
 
6
6
  <body>
7
7
 
8
- {% include nav.html -%}
8
+ {% include navbar.html -%}
9
9
  {% include header.html -%}
10
10
 
11
11
  <main class="page">
@@ -37,4 +37,3 @@
37
37
  </body>
38
38
 
39
39
  </html>
40
-
@@ -20,18 +20,13 @@
20
20
  margin-bottom: 0;
21
21
  }
22
22
 
23
- .about {
24
- @extend .col-sm-6, .col-md-3;
25
- @extend %-margin;
26
- }
27
-
28
- .community {
29
- @extend .col-sm-6, .col-md-3;
23
+ .links {
24
+ @extend .col-sm-3;
30
25
  @extend %-margin;
31
26
  }
32
27
 
33
28
  .project {
34
- @extend .col-md-6;
29
+ @extend .col;
35
30
  @extend %-margin;
36
31
 
37
32
  .social {
@@ -42,6 +37,7 @@
42
37
  }
43
38
 
44
39
  .copyright {
40
+ @extend .col;
45
41
  @extend %-margin;
46
42
  font-size: small;
47
43
  }
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.11
4
+ version: 0.1.16
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-19 00:00:00.000000000 Z
11
+ date: 2020-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -71,7 +71,7 @@ files:
71
71
  - _includes/home/around.html
72
72
  - _includes/home/news.html
73
73
  - _includes/home/sponsors.html
74
- - _includes/nav.html
74
+ - _includes/navbar.html
75
75
  - _includes/page/alert-danger.html
76
76
  - _includes/page/alert-info.html
77
77
  - _includes/page/alert-success.html
@@ -1,30 +0,0 @@
1
- <nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
2
- <div class="container">
3
- <a class="navbar-brand" href="/"><img src="/assets/img/logo.png" height="32" alt="{{ site.title }}"></a>
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
- <div class="collapse navbar-collapse" id="navcol-1">
6
- <ul class="nav navbar-nav ml-auto">
7
- <li class="nav-item" role="presentation"><a class="nav-link" href="/download"><i class="fas fa-download"></i> Download</a></li>
8
- <li class="nav-item dropdown"><a class="dropdown-toggle nav-link" data-toggle="dropdown" aria-expanded="false" href="#"><i class="fas fa-info-circle"></i> About</a>
9
- <div class="dropdown-menu" role="menu"><a class="dropdown-item" role="presentation" href="/about">About CentOS</a><a class="dropdown-item" role="presentation" href="https://wiki.centos.org/FAQ">Frequently Asked Questions (FAQs)</a><a class="dropdown-item" role="presentation" href="https://wiki.centos.org/SpecialInterestGroups">Special Interest Groups (SIGs)</a><a class="dropdown-item" role="presentation" href="/variants">CentOS Variants</a><a class="dropdown-item" role="presentation" href="/about/governance">Governance</a></div>
10
- </li>
11
- <li class="nav-item dropdown"><a class="dropdown-toggle nav-link" data-toggle="dropdown" aria-expanded="false" href="#"><i class="fas fa-users"></i> Community</a>
12
- <div class="dropdown-menu" role="menu">
13
- <a class="dropdown-item" role="presentation" href="https://wiki.centos.org/Contribute">Contribute</a>
14
- <a class="dropdown-item" role="presentation" href="https://www.centos.org/forums/">Forums</a>
15
- <a class="dropdown-item" role="presentation" href="https://wiki.centos.org/GettingHelp/ListInfo">Mailing Lists</a>
16
- <a class="dropdown-item" role="presentation" href="https://wiki.centos.org/irc">IRC</a>
17
- <a class="dropdown-item" role="presentation" href="/community/calendar/">Calendar &amp; IRC Meeting List</a>
18
- <a class="dropdown-item" role="presentation" href="http://planet.centos.org/">Planet</a>
19
- <a class="dropdown-item" role="presentation" href="https://bugs.centos.org/">Submit Bug</a>
20
- </div>
21
- </li>
22
- <li class="nav-item dropdown"><a class="dropdown-toggle nav-link" data-toggle="dropdown" aria-expanded="false" href="#"><i class="fas fa-book"></i> Documentation</a>
23
- <div class="dropdown-menu" role="menu"><a class="dropdown-item" role="presentation" href="https://wiki.centos.org/">Wiki</a><a class="dropdown-item" role="presentation" href="https://docs.centos.org/">Manuals</a><a class="dropdown-item" role="presentation" href="/keys">GPG Key Info</a></div>
24
- </li>
25
- <li class="nav-item" role="presentation"><a class="nav-link" href="/search/"><i class="fas fa-search"></i> Search</a></li>
26
- <li class="nav-item" role="presentation"><a class="nav-link" href="http://wiki.centos.org/Documentation?action=show&amp;redirect=GettingHelp"><i class="fas fa-life-ring"></i> Help</a></li>
27
- </ul>
28
- </div>
29
- </div>
30
- </nav>