jekyll-theme-centos 0.1.6 → 0.1.11

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: 246f569021a11558ca187b566e4a1483a5eaef12fdb7cebafaf71ac9a9491ad8
4
- data.tar.gz: 0ed9eac80a7d7d43140d172b6726abbb00bb959828ea5b7ebdf8e94eb5837c4b
3
+ metadata.gz: 7d32e3499d28481d194b43064a62cebb87f2d89b4bbcd4be844a12c74f311c72
4
+ data.tar.gz: 5117a2e3cac4d035c8acefbd1c5542f999d311cf1467811f019d31cb98c7a396
5
5
  SHA512:
6
- metadata.gz: 71dc8cecbe9a9f829da2118c5f09e3978df66f49610c0bea02409b755fc870f8c5e184636e975b4ce110fae53a48aa844a994849bd14f2051defacb5fd1f5203
7
- data.tar.gz: 180a83eefdef6f5b713f0da9296160ba53e49ee3f49580e9796d7a748bb3496b5ddcdc7988c6c5fa65761487e9770653ce1c121670c0f40cf3a2692b839c69d0
6
+ metadata.gz: f442d19e7c9e9e6de1d6dba471b8b6593ca049fe377d631f3c511ac81f228d7d710d51e88d7853aa544e25eedf7555b7d7d76044d47508883999c8667fe4e974
7
+ data.tar.gz: 4f055b3132b6ba93294830d763cebdd167de48f7722ccd3185143f21fbda4752305bb9ce07f3fe332a1d3bf2a3b6052ed76601e8c3f4461a7424aee4ac9176a6
@@ -1 +1,3 @@
1
- <img class="figure-img img-fluid" src="{{ include.src }}" alt="{{ include.alt }}">
1
+ <figure class="figure">
2
+ <img src="{{ include.src }}" alt="{{ include.alt | escape }}">
3
+ </figure>
@@ -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 -%}
@@ -6,18 +6,22 @@ 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>
18
22
  {% endif %}
19
23
  {{ content }}
20
- </section>
24
+ </article>
21
25
 
22
26
  </div>
23
27
  </main>
@@ -3,6 +3,12 @@
3
3
  @extend .container;
4
4
  @include page-heading;
5
5
 
6
+ .figure {
7
+ img {
8
+ @extend .img-fluid;
9
+ }
10
+ }
11
+
6
12
  pre {
7
13
  background: $nord-color-0;
8
14
  color: $nord-color-6;
@@ -125,12 +131,6 @@
125
131
  }
126
132
  }
127
133
 
128
- .rss-subscribe {
129
- @extend .col-md-12;
130
- @extend .text-right;
131
- margin-bottom: 1em;
132
- }
133
-
134
134
  .paginator {
135
135
  border-top: 1px solid $nord-color-4;
136
136
  margin-top: 1em;
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.6
4
+ version: 0.1.11
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-18 00:00:00.000000000 Z
11
+ date: 2020-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll