jekyll-theme-centos 0.1.8 → 0.1.13

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: 9fa9598497c036067288b29f4f725c9c395ebb986357f3e508000314526288f8
4
- data.tar.gz: de2cd5004e778ac8d95b2e6f098b25a7590f4a217cbd0ce11db373731ef36064
3
+ metadata.gz: d23c7dba3cfebabb12223f1c91fa113f8ab9e7f8c05dd8d7a12d09fa6371d635
4
+ data.tar.gz: 1af6f0be011a553c3ae870d0415f14328173a75ca6e3399541f27a1ff267fdfe
5
5
  SHA512:
6
- metadata.gz: d9c5e7478619653cb8c5fccc4f03427579472b9e8d9f4dc40edcd5642680517a896cc4705f150c318b591806542f2435021cd738558be099048d9831e5caace3
7
- data.tar.gz: 760023183334efe1812c3c5daf1450f8d443d3619f25bb5a3b9056834d37016e4ce78fbe847163662fc97e53f761fec036164770a503cdb01332a69fb6140b57
6
+ metadata.gz: b9f36bd8c7c7e1c7bd7716af729685f42ea3043b300cb3458d413ebaa7a3b24eaa7f29a1d938fff851b4e51099f43ba502f6294d98873572c9d8b38e2821b6ed
7
+ data.tar.gz: f518a0b09d8bbe773daae8212c45e7564ff6aca154b1f9b2018c3e4d16087d7445c76a5ac9f72a8f3fb34ac441bf4c6f2e217436317d054332b3a25169b017b8
@@ -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 %}
@@ -5,20 +5,31 @@ layout: default
5
5
  <main class="page">
6
6
  <div class="row">
7
7
 
8
- <div class="blog">
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
- <div class="rss-subscribe">
11
- <a href="{{ "/feed.xml" | relative_url }}"><i class="fas fa-rss"></i> Subscribe</a>
12
- </div>
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.minima.date_format | default: "%b %-d, %Y" -%}
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 | 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>
39
50
  </span>
40
51
  {% endif %}
41
52
  {% if paginator.next_page %}
42
53
  <span class="older">
43
- <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>
44
55
  </span>
45
56
  {% endif %}
46
57
  </div>
@@ -6,12 +6,16 @@ layout: default
6
6
  <div class="row">
7
7
 
8
8
  <aside class="aside-navigation">
9
- {% include page/breadcrumbs.html %}
9
+ <ol class="breadcrumb">
10
+ <li class="breadcrumb-item"><a href="/">Home</a></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
+ </ol>
10
14
  {% include page/toc.html html=content %}
11
15
  </aside>
12
16
 
13
17
  <article class="aside-article">
14
- {% if page.image != "" %}
18
+ {% if page.image %}
15
19
  <figure class="figure">
16
20
  <img src="{{ page.image }}" alt="{{ page.title | escape }}">
17
21
  </figure>
@@ -131,12 +131,6 @@
131
131
  }
132
132
  }
133
133
 
134
- .rss-subscribe {
135
- @extend .col-md-12;
136
- @extend .text-right;
137
- margin-bottom: 1em;
138
- }
139
-
140
134
  .paginator {
141
135
  border-top: 1px solid $nord-color-4;
142
136
  margin-top: 1em;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado