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 +4 -4
- data/CHANGELOG.md +6 -0
- data/CITATION.cff +1 -1
- data/_includes/components/post-hero.html +7 -1
- data/lib/datalog/theme/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cdef033c462e7ded26169effe9d852f91cb9f8273736229255e331e9d3ec9482
|
|
4
|
+
data.tar.gz: cff04ea4051161711a57a1e4d2b088c799cf85cf0dfa546324ce0d67ce907e05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
-
{%-
|
|
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>
|