datalog-theme 0.6.0 → 0.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 874bd029803fe40f44c18c940b5b7bd68b09aa30f93701157489606d588e6910
4
- data.tar.gz: 05442a3323747f722dea8ce44bd3fe2fb3aa27b95cb1d80ef86d750dffbbb8bf
3
+ metadata.gz: cdef033c462e7ded26169effe9d852f91cb9f8273736229255e331e9d3ec9482
4
+ data.tar.gz: cff04ea4051161711a57a1e4d2b088c799cf85cf0dfa546324ce0d67ce907e05
5
5
  SHA512:
6
- metadata.gz: 5a65616289705e0e7bd754fd6b88b699932eb7c90b28ea0c758e0f9e7a231d6f8a9d32707323746d7fe200c6f239257ab3bb291073b0005b466953baa20f8f0f
7
- data.tar.gz: 0706167a0c44b2bd49ac70139eb909972468824389afa4eb2c8388e514f7bed244a76e16a7b2d966af75e61e013c535020925996492f848f1720166838f7404c
6
+ metadata.gz: 2cbc7032d5fb6d0fa2f6e011865c942d6af2e695bf6c7cad798b4d7059a06ea51ff2e8c4fc6558a17ca69fa1a3cc524b31248857476e37b238c0e33cda5a6ff7
7
+ data.tar.gz: c72a7aa992fca99b8ec2c46839a20c8e74877ff785c0238ec00c2910e186362b37541dadf02e1c479c9a9ba7acdbe7fd085bbeb05d3c3435b9486e2237cd090f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## [0.6.1] - 2026-09-11
6
+
7
+ ### Fixed
8
+
9
+ - An overlay hero on the home page produced an empty id (and an "Empty `slug` generated" warning) because `/` slugifies to nothing; it now uses `post-hero-home`.
10
+
5
11
  ## [0.6.0] - 2026-09-11
6
12
 
7
13
  ### Added
data/CITATION.cff CHANGED
@@ -16,7 +16,7 @@ abstract: >-
16
16
  It offers integrated notebook publishing, advanced math rendering, interactive
17
17
  visualization workflows, and reproducibility tooling optimised for open science communities.
18
18
  license: MIT
19
- version: 0.6.0
19
+ version: 0.6.1
20
20
  date-released: 2026-09-11
21
21
  keywords:
22
22
  - data-science
@@ -38,7 +38,13 @@ Policy does not allow inline style attributes.
38
38
  {%- endif -%}
39
39
  {%- endif -%}
40
40
  {%- if hero.overlay -%}
41
- {%- assign hero_id = include.page.url | default: 'page' | slugify | prepend: 'post-hero-' -%}
41
+ {%- comment -%} The home page's url slugifies to nothing (and Jekyll warns), so it gets a fixed id. {%- endcomment -%}
42
+ {%- assign hero_url = include.page.url | default: '' -%}
43
+ {%- if hero_url == '/' or hero_url == '' -%}
44
+ {%- assign hero_id = 'post-hero-home' -%}
45
+ {%- else -%}
46
+ {%- assign hero_id = hero_url | slugify | prepend: 'post-hero-' -%}
47
+ {%- endif -%}
42
48
  <style nonce="{{ page.csp_nonce }}">
43
49
  #{{ hero_id }} { {% if hero.overlay_color %}background-color: {{ hero.overlay_color }}; {% endif %}background-image: {% if overlay_filter != '' %}{{ overlay_filter }}, {% endif %}url('{{ hero_src }}'); }
44
50
  </style>
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Datalog
4
4
  module Theme
5
- VERSION = "0.6.0" unless const_defined?(:VERSION)
5
+ VERSION = "0.6.1" unless const_defined?(:VERSION)
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datalog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diogo Ribeiro