jekyll-theme-bluelib 0.1.1 → 0.2.0
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/post-summary.html +17 -0
- data/_includes/tag.html +5 -0
- data/_layouts/base.html +3 -1
- data/_layouts/box.html +0 -1
- data/_layouts/default.html +3 -3
- data/_layouts/home.html +43 -0
- data/_layouts/post.html +21 -6
- data/assets/css/bluelib-jekyll.css +69 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc6882fa2bbf73b9e9c70e3f5f6a18ae524ff94d474ea8003a2f4764cf4e2d18
|
4
|
+
data.tar.gz: 9e50601e37176bf90c978e2a713b2cf8435f96b5a71e927b67ac6a5beb2b67fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3528a74ab837e2b91e12aca9a0f85392cd674684685a2312c0136012d9b5b4f6defbe6b613e69c9f3db0aa08a567f194ad00c66134d00dd5ccca2421b25e06d6
|
7
|
+
data.tar.gz: c84e62b809c926d8f9f57578a6bdc9bba5edff7e6dd51bc36a206a703529dde5ad994d748cbb13d932af1e94baa930bb329b5f7ba90236ebdf0be6c834a05411
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<section class="panel post-summary">
|
2
|
+
<div class="post-title">
|
3
|
+
<a href="{{ post.url }}">
|
4
|
+
{{ post.title }}
|
5
|
+
</a>
|
6
|
+
</div>
|
7
|
+
<div class="post-date">
|
8
|
+
<time>
|
9
|
+
{{ post.date }}
|
10
|
+
</time>
|
11
|
+
</div>
|
12
|
+
<div class="post-tags">
|
13
|
+
{% for tag in post.tags %}
|
14
|
+
{% include tag.html %}
|
15
|
+
{% endfor %}
|
16
|
+
</div>
|
17
|
+
</section>
|
data/_includes/tag.html
ADDED
data/_layouts/base.html
CHANGED
data/_layouts/box.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
<link rel="stylesheet" href="https://gh.steffo.eu/bluelib/src/targets/skeleton.root.css" type="text/css"/>
|
5
5
|
<link rel="stylesheet" href="https://gh.steffo.eu/bluelib/src/targets/{{ site.bluelib }}.root.css" type="text/css"/>
|
6
6
|
<link rel="stylesheet" href="https://gh.steffo.eu/bluelib/src/targets/{{ page.bluelib }}.root.css" type="text/css"/>
|
7
|
+
<link rel="stylesheet" href="{% link /assets/css/bluelib-jekyll.css %}"/>
|
7
8
|
{% for css in site.extra_css %}
|
8
|
-
<link rel="stylesheet" href="{
|
9
|
+
<link rel="stylesheet" href="{% link css %}"/>
|
9
10
|
{% endfor %}
|
10
|
-
<title>{{ page.title }}</title>
|
11
|
+
<title>{{ page.title }} - {{ site.title }}</title>
|
11
12
|
</head>
|
12
13
|
<body>
|
13
14
|
{{ content }}
|
14
15
|
</body>
|
15
16
|
</html>
|
16
|
-
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="panel panel-box">
|
6
|
+
<h2>
|
7
|
+
{{ page.title }}
|
8
|
+
</h2>
|
9
|
+
{{ content }}
|
10
|
+
</section>
|
11
|
+
|
12
|
+
<section class="panel panel-box">
|
13
|
+
<h2>
|
14
|
+
Latest posts
|
15
|
+
</h2>
|
16
|
+
<p>
|
17
|
+
These are the latest posts in the blog in reverse chronological order.
|
18
|
+
</p>
|
19
|
+
{% for post in site.posts %}
|
20
|
+
{% include post-summary.html %}
|
21
|
+
{% endfor %}
|
22
|
+
</section>
|
23
|
+
|
24
|
+
<section class="panel panel-box">
|
25
|
+
<h2>
|
26
|
+
Posts by tag
|
27
|
+
</h2>
|
28
|
+
<p>
|
29
|
+
These are all the posts in the blog, grouped by their tag.
|
30
|
+
</p>
|
31
|
+
<section class="chapter">
|
32
|
+
{% for tag_pair in site.tags %}
|
33
|
+
<section id="tag-{{ tag_pair[0] }}" class="panel panel-box">
|
34
|
+
<h3>
|
35
|
+
{{ tag_pair[0] }}
|
36
|
+
</h3>
|
37
|
+
{% for post in tag_pair[1] %}
|
38
|
+
{% include post-summary.html %}
|
39
|
+
{% endfor %}
|
40
|
+
</section>
|
41
|
+
{% endfor %}
|
42
|
+
</section>
|
43
|
+
</section>
|
data/_layouts/post.html
CHANGED
@@ -1,10 +1,25 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: base
|
3
3
|
---
|
4
4
|
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
{{
|
9
|
-
|
5
|
+
<section class="panel panel-box page-info">
|
6
|
+
<div class="panel page-date">
|
7
|
+
<time>
|
8
|
+
{{ page.date }}
|
9
|
+
</time>
|
10
|
+
</div>
|
11
|
+
<div class="page-tags">
|
12
|
+
{% for tag in page.tags %}
|
13
|
+
{% include tag.html %}
|
14
|
+
{% endfor %}
|
15
|
+
</div>
|
16
|
+
</section>
|
10
17
|
|
18
|
+
<section class="panel panel-box">
|
19
|
+
<h2>
|
20
|
+
<a href="{{ page.url }}">
|
21
|
+
{{ page.title }}
|
22
|
+
</a>
|
23
|
+
</h2>
|
24
|
+
{{ content }}
|
25
|
+
</section>
|
@@ -0,0 +1,69 @@
|
|
1
|
+
.post-summary {
|
2
|
+
display: grid;
|
3
|
+
|
4
|
+
grid-template-areas:
|
5
|
+
"title tags"
|
6
|
+
"date tags";
|
7
|
+
grid-template-columns: auto 1fr;
|
8
|
+
grid-template-rows: auto 1fr;
|
9
|
+
grid-column-gap: 8px;
|
10
|
+
grid-row-gap: 2px;
|
11
|
+
|
12
|
+
white-space: nowrap;
|
13
|
+
}
|
14
|
+
|
15
|
+
.post-summary > .post-title {
|
16
|
+
grid-area: title;
|
17
|
+
justify-self: start;
|
18
|
+
|
19
|
+
font-size: large;
|
20
|
+
font-weight: bold;
|
21
|
+
}
|
22
|
+
|
23
|
+
.post-summary > .post-date {
|
24
|
+
grid-area: date;
|
25
|
+
justify-self: start;
|
26
|
+
|
27
|
+
font-style: italic;
|
28
|
+
font-size: x-small;
|
29
|
+
|
30
|
+
opacity: 0.7;
|
31
|
+
}
|
32
|
+
|
33
|
+
.post-summary > .post-tags {
|
34
|
+
grid-area: tags;
|
35
|
+
justify-self: end;
|
36
|
+
|
37
|
+
display: flex;
|
38
|
+
flex-direction: row;
|
39
|
+
gap: 4px;
|
40
|
+
}
|
41
|
+
|
42
|
+
.page-info {
|
43
|
+
display: flex;
|
44
|
+
flex-direction: row;
|
45
|
+
gap: 4px;
|
46
|
+
justify-content: space-between;
|
47
|
+
|
48
|
+
font-size: small;
|
49
|
+
}
|
50
|
+
|
51
|
+
.page-info > .page-date {
|
52
|
+
display: inline !important;
|
53
|
+
margin: 0 !important;
|
54
|
+
width: auto !important;
|
55
|
+
|
56
|
+
justify-self: start;
|
57
|
+
}
|
58
|
+
|
59
|
+
.page-info > .page-tags {
|
60
|
+
display: flex;
|
61
|
+
flex-direction: row;
|
62
|
+
gap: 4px;
|
63
|
+
}
|
64
|
+
|
65
|
+
.tag {
|
66
|
+
display: inline !important;
|
67
|
+
margin: 0 !important;
|
68
|
+
width: auto !important;
|
69
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-bluelib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Pigozzi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -34,10 +34,14 @@ files:
|
|
34
34
|
- LICENSE.txt
|
35
35
|
- README.md
|
36
36
|
- _config.yml
|
37
|
+
- _includes/post-summary.html
|
38
|
+
- _includes/tag.html
|
37
39
|
- _layouts/base.html
|
38
40
|
- _layouts/box.html
|
39
41
|
- _layouts/default.html
|
42
|
+
- _layouts/home.html
|
40
43
|
- _layouts/post.html
|
44
|
+
- assets/css/bluelib-jekyll.css
|
41
45
|
homepage: https://github.com/Steffo99/jekyll-theme-bluelib
|
42
46
|
licenses:
|
43
47
|
- AGPL-3.0-or-later
|