awesome-jekyll-theme 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/blog.html +19 -20
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ad70b9c649c808a093c69abe1c09f1cc814ba7aa0b875f9a29facc92b6a7d06
|
4
|
+
data.tar.gz: 77f532c52fb44050fd7658cb2337070ba9f485201b3a979cf840013782609866
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41a04ed27443e17c0d6f96ff59d16b6b4586044a2189220f62e3a68f237f65325ef3dd36b1e8080a890eed965a0930dbdccc702a6e6d433cd46a8ad4484fe425
|
7
|
+
data.tar.gz: 3f258785edb80ac423deb85c0375ad2e25a9fcb9e2c6e8a3a49ba2384aadf3c26af0dbdf738d2874b28e257e06745831ff2d0be7ce738b46e13ba1d7cd027518
|
data/_layouts/blog.html
CHANGED
@@ -4,37 +4,36 @@ layout: default
|
|
4
4
|
|
5
5
|
<section class="container mx-auto pb-10 pt-20 lg:pt-[90px] lg:pb-20">
|
6
6
|
{% if site.categories.size > 0 %}
|
7
|
-
<div
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
<div
|
8
|
+
class="flex flex-wrap justify-center border-gray-400 border-y mb-4 md:mb-12"
|
9
|
+
>
|
10
|
+
{% for category in site.categories %} {% assign category_name = category[0]
|
11
|
+
%}
|
12
|
+
<a
|
13
|
+
href="{{site.url}}{{site.baseurl}}/category/{{category_name| replace: ' ', '-'| downcase}}"
|
11
14
|
aria-label="Category {{category_name}} page"
|
12
|
-
class="block font-mulish hover:text-sky-400 p-4 {% if category_name == page.title %}font-black{% endif %}"
|
15
|
+
class="block font-mulish hover:text-sky-400 p-4 {% if category_name == page.title %}font-black{% endif %}"
|
16
|
+
>
|
13
17
|
{{ category_name | upcase }}
|
14
18
|
</a>
|
15
19
|
{% endfor %}
|
16
20
|
</div>
|
17
|
-
{% endif %}
|
21
|
+
{% endif %} {% assign posts = page.posts | default: site.posts %} {% assign
|
22
|
+
first_post = posts[0] %} {% include post_main.html post=first_post %} {%
|
23
|
+
assign rest_posts = posts | slice: 1, posts.size %} {% if rest_posts.size > 0
|
24
|
+
%}
|
18
25
|
|
19
|
-
|
20
|
-
{% assign first_post = posts[0] %}
|
21
|
-
|
22
|
-
{% include post_main.html post=first_post %}
|
23
|
-
|
24
|
-
|
25
|
-
{% assign rest_posts = posts | slice: 1, posts.size %}
|
26
|
-
{% if rest_posts.size > 0 %}
|
27
|
-
|
28
|
-
<hr class="h-px my-12 bg-gray-400 border-0 dark:bg-gray-700">
|
26
|
+
<hr class="h-px my-12 bg-gray-400 border-0 dark:bg-gray-700" />
|
29
27
|
|
30
28
|
<h1 class="text-2xl md:text-4xl font-bold text-gray-800">
|
31
29
|
{{ site.data[site.active_lang].strings.blog.more_articles | default:
|
32
30
|
site.data['en'].strings.blog.more_articles }}
|
33
31
|
</h1>
|
34
|
-
<div
|
35
|
-
|
36
|
-
|
37
|
-
{%
|
32
|
+
<div
|
33
|
+
class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-x-12 gap-y-16 py-8 md:py-16"
|
34
|
+
>
|
35
|
+
{% for post in rest_posts %} {% include post_card.html post=post %} {%
|
36
|
+
endfor %}
|
38
37
|
</div>
|
39
38
|
{% endif%}
|
40
39
|
</section>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awesome-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a-chacon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|