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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64e61a07366f9486c88851286e7288b654efb997225e023bf3a2e45045a71cec
4
- data.tar.gz: 2d5dbb403207851712ec495212a7de6889c1a43824d66e69b3c31e3826ac9da0
3
+ metadata.gz: 49f5d3bbd9a4fb5c0d80731324476c6449265c7f70ab952365aa3967d7aa1432
4
+ data.tar.gz: 6bdf0014f9edd0dace08693f5713ed17cb4390ac0046c782050604b3d40642e4
5
5
  SHA512:
6
- metadata.gz: f39cd1618926d7676626991a1e2fc53112b0840e6fef896166cacd2d3d6a6702d0ce8e963b93f71e3b0649d83387c2f8e7771ad9d5d2c0be17a612bdee0a2c6a
7
- data.tar.gz: 2eea039038f1d6532c87e106e07829e42b5577c0fe7ef50c97fa95daa3186d8053709f9493e21d97f81b25d8796eacc9bee017c30d8aa96a8b955d3eb5c3b537
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" -%}
@@ -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.19
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-24 00:00:00.000000000 Z
11
+ date: 2023-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll