jekyll-theme-lucas-minima 0.1.19 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/post.html +8 -0
- data/_sass/minima/_layout.scss +23 -0
- 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: 49f5d3bbd9a4fb5c0d80731324476c6449265c7f70ab952365aa3967d7aa1432
|
4
|
+
data.tar.gz: 6bdf0014f9edd0dace08693f5713ed17cb4390ac0046c782050604b3d40642e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22fe56b9dc1d2afc35872aaa81c23f251474b2b8efbeef41479fc83ff1e8aaf9e08744da2fc1f05b0c74e3854ed46e8a19a956e13b4d233be2079b5c9ac75e46
|
7
|
+
data.tar.gz: dfedf18c22975a071fe90ee3f75ebd333a0773b6c8658ece0da4ec19fef009391173d786fce5bc8097252c3e6d48454e5e9d3d8bc281f18c0964f7cfacdef5a7
|
data/_layouts/post.html
CHANGED
@@ -4,7 +4,15 @@ layout: default
|
|
4
4
|
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
5
5
|
|
6
6
|
<header class="post-header">
|
7
|
+
|
8
|
+
{%- if page.button_path -%}
|
9
|
+
<div class="button-container">
|
10
|
+
<a href="{{ page.button_path | relative_url }}" class="button">{{ page.button_text }}</a>
|
11
|
+
{%- endif -%}
|
7
12
|
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
13
|
+
{%- if page.button_path -%}
|
14
|
+
</div>
|
15
|
+
{%- endif -%}
|
8
16
|
<p class="post-meta">
|
9
17
|
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
10
18
|
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
data/_sass/minima/_layout.scss
CHANGED
@@ -243,6 +243,29 @@
|
|
243
243
|
}
|
244
244
|
}
|
245
245
|
|
246
|
+
.button-container {
|
247
|
+
display: flex;
|
248
|
+
align-items: center;
|
249
|
+
margin-bottom: 10px; /* Adjust as needed for spacing */
|
250
|
+
}
|
251
|
+
|
252
|
+
.button {
|
253
|
+
display: inline-block;
|
254
|
+
padding: 5px 10px;
|
255
|
+
font-size: 16px;
|
256
|
+
font-weight: bold;
|
257
|
+
text-align: center;
|
258
|
+
text-decoration: none;
|
259
|
+
background-color: #000; /* Black button background */
|
260
|
+
color: #fff; /* White text color */
|
261
|
+
border-radius: 5px;
|
262
|
+
transition: background-color 0.3s ease;
|
263
|
+
|
264
|
+
&:visited {
|
265
|
+
color: #fff; /* Ensure the color stays the same on visited */
|
266
|
+
}
|
267
|
+
}
|
268
|
+
|
246
269
|
.post-content {
|
247
270
|
margin-bottom: $spacing-unit;
|
248
271
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-lucas-minima
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LucasZ-SGP
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|