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 +4 -4
- data/_includes/header.html +1 -1
- data/_layouts/blog.html +18 -7
- data/_layouts/post.html +6 -2
- data/_sass/centos/_page.scss +0 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d23c7dba3cfebabb12223f1c91fa113f8ab9e7f8c05dd8d7a12d09fa6371d635
|
4
|
+
data.tar.gz: 1af6f0be011a553c3ae870d0415f14328173a75ca6e3399541f27a1ff267fdfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9f36bd8c7c7e1c7bd7716af729685f42ea3043b300cb3458d413ebaa7a3b24eaa7f29a1d938fff851b4e51099f43ba502f6294d98873572c9d8b38e2821b6ed
|
7
|
+
data.tar.gz: f518a0b09d8bbe773daae8212c45e7564ff6aca154b1f9b2018c3e4d16087d7445c76a5ac9f72a8f3fb34ac441bf4c6f2e217436317d054332b3a25169b017b8
|
data/_includes/header.html
CHANGED
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/post.html
CHANGED
@@ -6,12 +6,16 @@ layout: default
|
|
6
6
|
<div class="row">
|
7
7
|
|
8
8
|
<aside class="aside-navigation">
|
9
|
-
|
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>
|
data/_sass/centos/_page.scss
CHANGED