jekyll-theme-centos 0.1.9 → 0.1.14
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.
- checksums.yaml +4 -4
- data/_includes/footer.html +25 -23
- data/_includes/header.html +1 -1
- data/_includes/header/home.html +6 -5
- data/_includes/navbar.html +23 -0
- data/_layouts/blog.html +18 -7
- data/_layouts/default.html +1 -1
- data/_layouts/download-mirror.html +1 -1
- data/_layouts/home.html +1 -2
- data/_layouts/post.html +3 -3
- data/_sass/centos/_page.scss +0 -6
- metadata +3 -3
- data/_includes/nav.html +0 -30
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f0f90c1917af6c855fce366d2d588735a50f03738001eeac14342d0c7319b0b
|
|
4
|
+
data.tar.gz: 269baf22cc49204eb6681bf4e948f4ebd5359d2602cff848ba02c4f09ff4126e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91807324ef99f235411f3117cf05f72a4847b3428770d6745e59e5da07430eee7fed976678784e5b84b74c46639cfae5ff264cf2fe3a6a0a4b58191ea4b7af0a
|
|
7
|
+
data.tar.gz: 0d8a3da3309346178b2e7001ff0188bec59f0a39627d707866ea701540874c6f33e3aafef19edaa5581533690267d1602c3dcbd407caf223ff24dc08261c1a2a
|
data/_includes/footer.html
CHANGED
|
@@ -1,39 +1,41 @@
|
|
|
1
1
|
<footer class="footer">
|
|
2
2
|
<div class="container">
|
|
3
3
|
<div class="row justify-content-center">
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
{% assign column = site.navbar | where: "name", site.footer_links_column1 %}
|
|
6
|
+
{% for section in column %}
|
|
7
|
+
<section class="{{ section.name | downcase }}">
|
|
8
|
+
<h4>{{ section.name }}</h4>
|
|
6
9
|
<ul>
|
|
7
|
-
|
|
8
|
-
<li><a href="
|
|
9
|
-
|
|
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
|
-
|
|
15
|
-
|
|
15
|
+
{% endfor %}
|
|
16
|
+
|
|
17
|
+
{% assign column = site.navbar | where: "name", site.footer_links_column2 %}
|
|
18
|
+
{% for section in column %}
|
|
19
|
+
<section class="{{ section.name | downcase }}">
|
|
20
|
+
<h4>{{ section.name }}</h4>
|
|
16
21
|
<ul>
|
|
17
|
-
|
|
18
|
-
<li><a href="
|
|
19
|
-
|
|
20
|
-
<li><a href="https://wiki.centos.org/irc">IRC</a></li>
|
|
21
|
-
<li><a href="/community/calendar/">Calendar & 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>
|
|
28
|
-
<p class="lead">
|
|
30
|
+
<h4>{{ site.title }}</h4>
|
|
31
|
+
<p class="lead">{{ site.description }}</p>
|
|
29
32
|
<div class="lead social">
|
|
30
|
-
|
|
31
|
-
<a href="
|
|
32
|
-
|
|
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
|
+
|
|
37
39
|
<section class="copyright">
|
|
38
40
|
<p>Copyright © 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>
|
|
39
41
|
</section>
|
data/_includes/header.html
CHANGED
data/_includes/header/home.html
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
<div class="row">
|
|
3
3
|
<div class="col-7">
|
|
4
4
|
<header>
|
|
5
|
-
<h1>{{
|
|
5
|
+
<h1>{{ site.title }}</h1>
|
|
6
6
|
</header>
|
|
7
|
-
<p class="lead">{{
|
|
8
|
-
<p class="lead">
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
<p class="lead">{{ site.description }}</p>
|
|
8
|
+
<p class="lead">{{ site.offers.preamble }}</p>
|
|
9
|
+
{% for item in site.offers.projects %}
|
|
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>
|
data/_layouts/blog.html
CHANGED
|
@@ -5,20 +5,31 @@ layout: default
|
|
|
5
5
|
<main class="page">
|
|
6
6
|
<div class="row">
|
|
7
7
|
|
|
8
|
-
<div class="
|
|
8
|
+
<div class="col">
|
|
9
|
+
<ol class="breadcrumb">
|
|
10
|
+
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
|
11
|
+
<li class="breadcrumb-item active">{{ page.title | capitalize }}</li>
|
|
12
|
+
</ol>
|
|
13
|
+
</div>
|
|
9
14
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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>
|
|
17
|
+
</div>
|
|
13
18
|
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div class="row">
|
|
22
|
+
<div class="blog">
|
|
14
23
|
{%- if site.posts.size > 0 -%}
|
|
15
24
|
<div class="d-flex align-content-start flex-wrap align-content-stretch">
|
|
16
25
|
{%- for post in paginator.posts -%}
|
|
17
26
|
<div class="card">
|
|
18
27
|
<a href="{{ post.url | relative_url }}">
|
|
19
28
|
<div class="card-body">
|
|
20
|
-
{%- assign date_format = site.
|
|
29
|
+
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
|
30
|
+
{%- if post.image -%}
|
|
21
31
|
<img class="card-img-top" src="{{ post.image }}" alt="{{ post.title | escape }}">
|
|
32
|
+
{%- endif -%}
|
|
22
33
|
<h5 class="card-title">{{ post.title | escape }}</h5>
|
|
23
34
|
<p class="card-date">{{ post.date | date: date_format }}</p>
|
|
24
35
|
{%- if site.show_excerpts -%}
|
|
@@ -35,12 +46,12 @@ layout: default
|
|
|
35
46
|
<div class="paginator">
|
|
36
47
|
{% if paginator.previous_page %}
|
|
37
48
|
<span class="newer">
|
|
38
|
-
<a href="{{ paginator.previous_page_path
|
|
49
|
+
<a href="{{ paginator.previous_page_path }}"><i class="fas fa-arrow-left"></i> Newer</a>
|
|
39
50
|
</span>
|
|
40
51
|
{% endif %}
|
|
41
52
|
{% if paginator.next_page %}
|
|
42
53
|
<span class="older">
|
|
43
|
-
<a href="{{ paginator.next_page_path
|
|
54
|
+
<a href="{{ paginator.next_page_path }}"> Older <i class="fas fa-arrow-right"></i></a>
|
|
44
55
|
</span>
|
|
45
56
|
{% endif %}
|
|
46
57
|
</div>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
data/_layouts/post.html
CHANGED
|
@@ -8,14 +8,14 @@ layout: default
|
|
|
8
8
|
<aside class="aside-navigation">
|
|
9
9
|
<ol class="breadcrumb">
|
|
10
10
|
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
|
11
|
-
<li class="breadcrumb-item"><a href="/
|
|
12
|
-
<li class="breadcrumb-item active">{{ page.title }}</li>
|
|
11
|
+
<li class="breadcrumb-item"><a href="/{{ page.category | lower }}">{{ page.category | capitalize }}</a></li>
|
|
12
|
+
<li class="breadcrumb-item active">{{ page.title | capitalize }}</li>
|
|
13
13
|
</ol>
|
|
14
14
|
{% include page/toc.html html=content %}
|
|
15
15
|
</aside>
|
|
16
16
|
|
|
17
17
|
<article class="aside-article">
|
|
18
|
-
{% if page.image
|
|
18
|
+
{% if page.image %}
|
|
19
19
|
<figure class="figure">
|
|
20
20
|
<img src="{{ page.image }}" alt="{{ page.title | escape }}">
|
|
21
21
|
</figure>
|
data/_sass/centos/_page.scss
CHANGED
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.
|
|
4
|
+
version: 0.1.14
|
|
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-
|
|
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/
|
|
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
|
data/_includes/nav.html
DELETED
|
@@ -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 & 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&redirect=GettingHelp"><i class="fas fa-life-ring"></i> Help</a></li>
|
|
27
|
-
</ul>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</nav>
|