jekyll-theme-centos 0.1.25 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/{page/breadcrumbs.html → breadcrumbs.html} +0 -0
  3. data/_includes/{page/download-body-doc.html → download/body-doc.html} +0 -0
  4. data/_includes/{page/download-body-eol.html → download/body-eol.html} +0 -0
  5. data/_includes/{page/download-body.html → download/body.html} +0 -0
  6. data/_includes/download/cards.html +16 -0
  7. data/_includes/{page/download-footer.html → download/footer.html} +0 -0
  8. data/_includes/download/header-doc.html +8 -0
  9. data/_includes/download/header-eol.html +8 -0
  10. data/_includes/download/header.html +10 -0
  11. data/_includes/download/linux.html +22 -0
  12. data/_includes/download/linux/7-doc.html +5 -0
  13. data/_includes/download/linux/7-eol.html +5 -0
  14. data/_includes/download/linux/7.html +5 -0
  15. data/_includes/download/linux/8-doc.html +5 -0
  16. data/_includes/download/linux/8-eol.html +5 -0
  17. data/_includes/download/linux/8.html +5 -0
  18. data/_includes/download/stream.html +16 -0
  19. data/_includes/download/stream/8-doc.html +5 -0
  20. data/_includes/download/stream/8-eol.html +5 -0
  21. data/_includes/download/stream/8.html +5 -0
  22. data/_includes/header.html +9 -11
  23. data/_includes/header/blog.html +17 -20
  24. data/_includes/header/home.html +13 -17
  25. data/_includes/header/page.html +4 -10
  26. data/_includes/header/post.html +19 -20
  27. data/_includes/home/around.html +2 -4
  28. data/_includes/home/news-and-sponsors.html +8 -0
  29. data/_includes/home/news.html +10 -13
  30. data/_includes/home/sponsors.html +6 -6
  31. data/_includes/{page/search.html → search.html} +0 -0
  32. data/_includes/{page/toc.html → toc.html} +4 -5
  33. data/_includes/top.html +3 -0
  34. data/_layouts/aside.html +11 -10
  35. data/_layouts/blog.html +34 -40
  36. data/_layouts/default.html +1 -0
  37. data/_layouts/download-mirror.html +5 -7
  38. data/_layouts/home.html +5 -9
  39. data/_layouts/page.html +10 -7
  40. data/_layouts/post.html +34 -19
  41. data/_layouts/search.html +8 -7
  42. data/_layouts/sponsors.html +16 -10
  43. data/_sass/centos/_breadcrumbs.scss +4 -0
  44. data/_sass/centos/_footer.scss +15 -3
  45. data/_sass/centos/_header.scss +82 -38
  46. data/_sass/centos/_main.scss +196 -0
  47. data/_sass/centos/_mixins.scss +3 -6
  48. data/_sass/centos/_nav.scss +2 -13
  49. data/_sass/centos/{mixins/_page-toc.scss → _toc.scss} +8 -4
  50. data/_sass/centos/_variables.scss +15 -45
  51. data/_sass/centos/centos.scss +3 -2
  52. data/_sass/centos/mixins/_aside-nav.scss +26 -0
  53. data/_sass/centos/mixins/_content.scss +82 -0
  54. data/_sass/centos/{_rssfeeds.scss → mixins/_link-list.scss} +1 -1
  55. data/assets/img/post.png +0 -0
  56. metadata +33 -33
  57. data/_includes/page/download-cards.html +0 -13
  58. data/_includes/page/download-header-doc.html +0 -8
  59. data/_includes/page/download-header-eol.html +0 -8
  60. data/_includes/page/download-header.html +0 -10
  61. data/_includes/page/download-linux.html +0 -20
  62. data/_includes/page/download-linux/7-doc.html +0 -5
  63. data/_includes/page/download-linux/7-eol.html +0 -5
  64. data/_includes/page/download-linux/7.html +0 -5
  65. data/_includes/page/download-linux/8-doc.html +0 -5
  66. data/_includes/page/download-linux/8-eol.html +0 -5
  67. data/_includes/page/download-linux/8.html +0 -5
  68. data/_includes/page/download-stream.html +0 -16
  69. data/_includes/page/download-stream/8-doc.html +0 -5
  70. data/_includes/page/download-stream/8-eol.html +0 -5
  71. data/_includes/page/download-stream/8.html +0 -5
  72. data/_layouts/download.html +0 -25
  73. data/_sass/centos/_page.scss +0 -222
  74. data/_sass/centos/mixins/_before-angle-right.scss +0 -9
  75. data/_sass/centos/mixins/_link-dark.scss +0 -10
  76. data/_sass/centos/mixins/_page-card.scss +0 -14
  77. data/_sass/centos/mixins/_page-heading.scss +0 -28
  78. data/_sass/centos/mixins/_page-lists.scss +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f2828771a1599d22d17355591eb6e9efa9a42b5236cf1ff2bf61a8752b95cde
4
- data.tar.gz: a5565df458a265188813892f1cc9047616c2d98b3de5e9f4cfbebfd77527a137
3
+ metadata.gz: 4160b1283d1b00240f5f40145a1fd0e73b026315fb3dba915722a8862955767f
4
+ data.tar.gz: cec0da81559a160bb9cc4087fa214ee0b3d4de607d358bc363e7fbff4a8408cd
5
5
  SHA512:
6
- metadata.gz: 95661703c9e0ce6cb5a92862de85f834e2f4e36f75e7b9ec28a8d5f0226182379306efcd21447d5d3e816d2590dcbaa09053db256fa277c1aedf91a665fdae5c
7
- data.tar.gz: b2c5bfc9eec641ca4f632439b5f33e1bc3df0d44a616a0be77ea7f8fba5ca448d966b8aa6d8e32e2d1b799d72bb505d7a8d89660b5d28392929e814e2d811671
6
+ metadata.gz: bf749b86e7e86120ed154ca648fbc010345b73d84926394e1f5970f83a84abee7874f2074150c7ef70e4f40aa28e35ce0343862adb6f657b9e3f7c02beede7f8
7
+ data.tar.gz: a1d02ae47e4ae2ca31bc2a31799dada1ebb562a76c6aa800ad6eb2a800e1397f4bddd50e4b153aab543082763b6be4e37de7f4bd416527c385a7b8f13ea4ba04
@@ -0,0 +1,16 @@
1
+ <div class="download__content__card">
2
+ <div class="download__content__card__header">
3
+ <ul class="nav nav-pills card-header-pills">
4
+ <li class="nav-item"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-stream">CentOS Stream</a></li>
5
+ <li class="nav-item"><a class="nav-link" role="tab" data-toggle="tab" href="#tab-linux">CentOS Linux</a></li>
6
+ </ul>
7
+ </div>
8
+ <div class="download__content__card__body tab-content">
9
+ <div class="tab-pane active" role="tabpanel" id="tab-stream">
10
+ {% include download/stream.html %}
11
+ </div>
12
+ <div class="tab-pane" role="tabpanel" id="tab-linux">
13
+ {% include download/linux.html %}
14
+ </div>
15
+ </div>
16
+ </div>
@@ -0,0 +1,8 @@
1
+ <table>
2
+ <thead>
3
+ <tr>
4
+ <th scope="col"><i class="fas fa-book"></i> Documentation</th>
5
+ </tr>
6
+ </thead>
7
+ <tbody>
8
+
@@ -0,0 +1,8 @@
1
+ <table>
2
+ <thead>
3
+ <tr>
4
+ <th scope="col"><i class="fas fa-hourglass-end"></i> End-of-life</th>
5
+ </tr>
6
+ </thead>
7
+ <tbody>
8
+
@@ -0,0 +1,10 @@
1
+ <table>
2
+ <thead>
3
+ <tr>
4
+ <th scope="col"><i class="fas fa-microchip"></i> Architectures</th>
5
+ <th scope="col"><i class="fas fa-cubes"></i> Packages</th>
6
+ <th scope="col"><i class="fas fa-plus-circle"></i> Others</th>
7
+ </tr>
8
+ </thead>
9
+ <tbody>
10
+
@@ -0,0 +1,22 @@
1
+ <div class="download__content__card">
2
+ <div class="download__content__card__header">
3
+ <ul class="nav nav-pills card-header-pills">
4
+ <li class="nav-item"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-linux-8">8</a></li>
5
+ <li class="nav-item"><a class="nav-link" role="tab" data-toggle="tab" href="#tab-linux-7">7</a></li>
6
+ </ul>
7
+ </div>
8
+
9
+ <div class="download__content__card__body tab-content">
10
+ <div class="tab-pane active" role="tabpanel" id="tab-linux-8">
11
+ {% include download/linux/8.html %}
12
+ {% include download/linux/8-doc.html %}
13
+ {% include download/linux/8-eol.html %}
14
+ </div>
15
+
16
+ <div class="tab-pane" role="tabpanel" id="tab-linux-7">
17
+ {% include download/linux/7.html %}
18
+ {% include download/linux/7-doc.html %}
19
+ {% include download/linux/7-eol.html %}
20
+ </div>
21
+ </div>
22
+ </div>
@@ -0,0 +1,5 @@
1
+ {% include download/header-doc.html %}
2
+ {% for row in site.data.centos-linux-7-doc %}
3
+ {% include download/body-doc.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -0,0 +1,5 @@
1
+ {% include download/header-eol.html %}
2
+ {% for row in site.data.centos-linux-7-eol %}
3
+ {% include download/body-eol.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -0,0 +1,5 @@
1
+ {% include download/header.html %}
2
+ {% for row in site.data.centos-linux-7 %}
3
+ {% include download/body.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -0,0 +1,5 @@
1
+ {% include download/header-doc.html %}
2
+ {% for row in site.data.centos-linux-8-doc %}
3
+ {% include download/body-doc.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -0,0 +1,5 @@
1
+ {% include download/header-eol.html %}
2
+ {% for row in site.data.centos-linux-8-eol %}
3
+ {% include download/body-eol.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -0,0 +1,5 @@
1
+ {% include download/header.html %}
2
+ {% for row in site.data.centos-linux-8 %}
3
+ {% include download/body.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -0,0 +1,16 @@
1
+ <div class="download__content__card">
2
+
3
+ <div class="download__content__card__header">
4
+ <ul class="nav nav-pills card-header-pills">
5
+ <li class="nav-item"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-stream-8">8</a></li>
6
+ </ul>
7
+ </div>
8
+
9
+ <div class="download__content__card__body tab-content">
10
+ <div class="tab-pane active" role="tabpanel" id="tab-stream-8">
11
+ {% include download/stream/8.html %}
12
+ {% include download/stream/8-doc.html %}
13
+ {% include download/stream/8-eol.html %}
14
+ </div>
15
+ </div>
16
+ </div>
@@ -0,0 +1,5 @@
1
+ {% include download/header-doc.html %}
2
+ {% for row in site.data.centos-stream-8-doc %}
3
+ {% include download/body-doc.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -0,0 +1,5 @@
1
+ {% include download/header-eol.html %}
2
+ {% for row in site.data.centos-stream-8-eol %}
3
+ {% include download/body-eol.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -0,0 +1,5 @@
1
+ {% include download/header.html %}
2
+ {% for row in site.data.centos-stream-8 %}
3
+ {% include download/body.html %}
4
+ {% endfor %}
5
+ {% include download/footer.html %}
@@ -1,11 +1,9 @@
1
- <header class="header">
2
- {% if page.layout == "home" %}
3
- {% include header/home.html %}
4
- {% elsif page.layout == "blog" %}
5
- {% include header/blog.html %}
6
- {% elsif page.layout == "post" %}
7
- {% include header/post.html %}
8
- {% else %}
9
- {% include header/page.html %}
10
- {% endif %}
11
- </header>
1
+ {% if page.layout == "home" %}
2
+ {% include header/home.html %}
3
+ {% elsif page.layout == "blog" %}
4
+ {% include header/blog.html %}
5
+ {% elsif page.layout == "post" %}
6
+ {% include header/post.html %}
7
+ {% else %}
8
+ {% include header/page.html %}
9
+ {% endif %}
@@ -1,23 +1,20 @@
1
- {% if paginator.previous_page_path %}
2
- <a href="{{ paginator.previous_page_path }}"><span class="paginator"><i class="fas fa-arrow-left"></i></span></a>
3
- {% else %}
4
- <span class="paginator disabled"><i class="fas fa-arrow-left"></i></span>
5
- {% endif %}
1
+ <header class="header header__blog">
6
2
 
7
- <section class="title">
8
- <div class="row">
9
- <div class="col">
10
- <header>
11
- <h1>{{ page.title }}</h1>
12
- </header>
13
- <p class="lead">{{ page.title_lead }}</p>
14
- </div>
15
- </div>
16
- </section>
3
+ {% if paginator.previous_page_path %}
4
+ <a href="{{ paginator.previous_page_path }}"><div class="header__blog__older"><i class="fas fa-arrow-left"></i></div></a>
5
+ {% else %}
6
+ <div class="header__blog__older header__blog__older--disabled"><i class="fas fa-arrow-left"></i></div>
7
+ {% endif %}
17
8
 
18
- {% if paginator.next_page_path %}
19
- <a href="{{ paginator.next_page_path }}"><span class="paginator"><i class="fas fa-arrow-right"></i></span></a>
20
- {% else %}
21
- <span class="paginator disabled"><i class="fas fa-arrow-right"></i></span>
22
- {% endif %}
9
+ <section class="header__blog__present">
10
+ <h1 class="header__blog__title">{{ page.title }}</h1>
11
+ <p class="header__blog__description">{{ page.title_lead }}</p>
12
+ </section>
23
13
 
14
+ {% if paginator.next_page_path %}
15
+ <a href="{{ paginator.next_page_path }}"><div class="header__blog__newer"><i class="fas fa-arrow-right"></i></div></a>
16
+ {% else %}
17
+ <div class="header__blog__newer header__blog__newer--disabled"><i class="fas fa-arrow-right"></i></div>
18
+ {% endif %}
19
+
20
+ </header>
@@ -1,18 +1,14 @@
1
- <div class="home">
2
- <div class="row">
3
- <div class="col-7">
4
- <header>
5
- <h1>{{ site.title }}</h1>
6
- </header>
7
- <p class="lead">{{ site.description }}</p>
8
- {% if site.header.preamble %}
9
- <p class="lead">{{ site.header.preamble }}</p>
10
- {% endif %}
11
- {% if site.header.worklines %}
12
- {% for item in site.header.worklines %}
13
- <a class="btn btn-light btn-lg" role="button" href="{{ item.link }}"><i class="{{ item.icon }}"></i> <strong>{{ item.name }}</strong></a>
14
- {% endfor %}
15
- {% endif %}
16
- </div>
1
+ <header class="header header__home">
2
+ <h1 class="header__home__title">{{ site.title }}</h1>
3
+ <p class="header__home__description">{{ site.description }}</p>
4
+ {% if site.header.preamble %}
5
+ <p class="header__home__preamble">{{ site.header.preamble }}</p>
6
+ {% endif %}
7
+ {% if site.header.worklines %}
8
+ <div class="header__home__worklines">
9
+ {% for item in site.header.worklines %}
10
+ <a class="btn btn-light btn-lg" role="button" href="{{ item.link }}"><strong>{{ item.name }}</strong></a>
11
+ {% endfor %}
17
12
  </div>
18
- </div>
13
+ {% endif %}
14
+ </header>
@@ -1,10 +1,4 @@
1
- <div class="title">
2
- <div class="row">
3
- <div class="col">
4
- <header>
5
- <h1>{{ page.title }}</h1>
6
- </header>
7
- <p class="lead">{{ page.title_lead }}</p>
8
- </div>
9
- </div>
10
- </div>
1
+ <header class="header header__page">
2
+ <h1 class="header__page__title">{{ page.title }}</h1>
3
+ <p class="header__page__description">{{ page.title_lead }}</p>
4
+ </header>
@@ -1,22 +1,21 @@
1
- {% if page.previous.url %}
2
- <a href="{{ page.previous.url }}"><span class="paginator"><i class="fas fa-arrow-left"></i></span></a>
3
- {% else %}
4
- <span class="paginator disabled"><i class="fas fa-arrow-left"></i></span>
5
- {% endif %}
1
+ <header class="header header__post">
6
2
 
7
- <div class="title">
8
- <div class="row">
9
- <div class="col">
10
- <header>
11
- <h1>{{ page.title }}</h1>
12
- </header>
13
- <p class="lead">{{ page.title_lead }}</p>
14
- </div>
15
- </div>
16
- </div>
3
+ {% if page.previous.url %}
4
+ <a href="{{ page.previous.url }}"><div class="header__post__older"><i class="fas fa-arrow-left"></i></div></a>
5
+ {% else %}
6
+ <div class="header__post__older header__post__older--disabled"><i class="fas fa-arrow-left"></i></div>
7
+ {% endif %}
17
8
 
18
- {% if page.next.url %}
19
- <a href="{{ page.next.url }}"><span class="paginator"><i class="fas fa-arrow-right"></i></span></a>
20
- {% else %}
21
- <span class="paginator disabled"><i class="fas fa-arrow-right"></i></span>
22
- {% endif %}
9
+ <section class="header__post__present">
10
+ <h1 class="header__post__title">{{ page.title }}</h1>
11
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
12
+ <p class="header__post__description">{{ page.date | date: date_format }}</p>
13
+ </section>
14
+
15
+ {% if page.next.url %}
16
+ <a href="{{ page.next.url }}"><div class="header__post__newer"><i class="fas fa-arrow-right"></i></div></a>
17
+ {% else %}
18
+ <div class="header__post__newer header__post__newer--disabled"><i class="fas fa-arrow-right"></i></div>
19
+ {% endif %}
20
+
21
+ </header>
@@ -1,6 +1,4 @@
1
- <section class="around">
2
- <header>
3
- <h2><i class="fas fa-globe-americas"></i> Around CentOS</h2>
4
- </header>
1
+ <section class="home__around">
2
+ <h2>Around CentOS</h2>
5
3
  <div id="rss-feeds"></div>
6
4
  </section>
@@ -0,0 +1,8 @@
1
+ <section class="home__news-and-sponsors" id="news-and-sponsors">
2
+ <div class="home__news-and-sponsors__news">
3
+ {% include home/news.html %}
4
+ </div>
5
+ <div class="home__news-and-sponsors__sponsors">
6
+ {% include home/sponsors.html %}
7
+ </div>
8
+ </section>
@@ -1,16 +1,13 @@
1
- <section class="news">
2
- <header>
3
- <h2><i class="fas fa-calendar-alt"></i> News and events</h2>
4
- </header>
1
+ <section class="home__news-and-events">
5
2
 
6
- {% assign blog_posts = site.posts | where: "category", "blog" %}
7
- {% for i in blog_posts limit:3 %}
8
- <div class="row">
9
- <div class="col">
10
- <h4>{{ i.title }}</h4>
11
- {{ i.excerpt }}
12
- </div>
13
- </div>
14
- {% endfor %}
3
+ <h2>News and events</h2>
4
+
5
+ <ul>
6
+ {% assign blog_posts = site.posts | where: "category", "blog" %}
7
+ {% for i in blog_posts limit:3 %}
8
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
9
+ <li><a href="{{ i.url }}">{{ i.title }}</a> &mdash; <small>{{ i.date | date: date_format }}</small> {{ i.excerpt }}</li>
10
+ {% endfor %}
11
+ </ul>
15
12
 
16
13
  </section>
@@ -1,10 +1,9 @@
1
- <section class="sponsors carousel">
2
- <header>
3
- <h2><i class="fas fa-award"></i> Sponsorship</h2>
4
- </header>
1
+ <section class="home__sponsorship">
5
2
 
6
- <p>CentOS would not be possible without the support of our sponsors. We would like to thank the following product/service for being a CentOS sponsor:</p>
3
+ <h2>Sponsorship</h2>
7
4
 
5
+ <div class="carousel">
6
+ <p>CentOS would not be possible without the support of our sponsors. We would like to thank the following product/service for being a CentOS sponsor:</p>
8
7
  <div class="card">
9
8
  <div class="carousel slide carousel-fade" data-ride="carousel" id="carousel-1">
10
9
  <div class="carousel-inner" role="listbox">
@@ -14,6 +13,7 @@
14
13
  </div>
15
14
  </div>
16
15
  </div>
17
-
18
16
  <p>If you value our work, please consider <a href="/sponsors">becoming a sponsor</a>!</p>
17
+ </div>
18
+
19
19
  </section>
File without changes
@@ -95,11 +95,10 @@
95
95
  {% endif %}{% endcapture %}
96
96
 
97
97
  {% if my_toc != "" %}
98
- <header>
99
- <h6>Contents:</h6>
100
- </header>
101
- <section class="toc">
102
-
98
+ <div class="toc">
99
+ <header class="toc__header">On this page:</header>
100
+ <section class="toc__section">
103
101
  {% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
104
102
  </section>
103
+ </div>
105
104
  {% endif %}
@@ -0,0 +1,3 @@
1
+ <div class="top">
2
+ <a href="#top"><button class="btn btn-light"><i class="fas fa-arrow-circle-up"></i></button></a>
3
+ </div>
data/_layouts/aside.html CHANGED
@@ -2,15 +2,16 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <main class="page">
6
- <div class="row">
7
- <aside class="aside-navigation">
8
- {% include page/breadcrumbs.html %}
9
- {% include page/toc.html html=content %}
10
- </aside>
5
+ <main class="aside">
6
+
7
+ <article class="aside__content">
8
+ {{ content }}
9
+ </article>
10
+
11
+ <aside class="aside__nav">
12
+ {% include breadcrumbs.html %}
13
+ {% include toc.html html=content %}
14
+ {% include top.html %}
15
+ </aside>
11
16
 
12
- <article class="aside-article">
13
- {{ content }}
14
- </section>
15
- </div>
16
17
  </main>