Skip to content

Commit 513928c

Browse files
fix: category name display in reader mode + minor version bump
1 parent fb57894 commit 513928c

5 files changed

Lines changed: 10 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.4.5] - 2026-03-05
9+
10+
### Fixed
11+
12+
- Category names with spaces now display correctly in reader mode header instead of showing URL-encoded values like `%20`. ([#21](https://github.com/DimwitLabs/ode/issues/21))
13+
814
## [1.4.4] - 2026-02-28
915

1016
### Added

docsite/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const config: Config = {
123123
{
124124
type: 'html',
125125
position: 'right',
126-
value: '<span style="padding: 0.25rem 0.5rem; background: var(--ifm-color-primary); color: white; border-radius: 4px; font-size: 0.875rem; font-weight: 600;">v1.4.4</span>',
126+
value: '<span style="padding: 0.25rem 0.5rem; background: var(--ifm-color-primary); color: white; border-radius: 4px; font-size: 0.875rem; font-weight: 600;">v1.4.5</span>',
127127
},
128128
{
129129
href: 'https://demo.ode.dimwit.me/',

docsite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docsite",
3-
"version": "1.4.4",
3+
"version": "1.4.5",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ode",
33
"private": true,
4-
"version": "1.4.4",
4+
"version": "1.4.5",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src/components/Header/Header.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function Header({ config }) {
2626
const isCollection = location.pathname.startsWith("/reader/");
2727

2828
const collection = isCollection
29-
? location.pathname.split('/reader/')[1]
29+
? decodeURIComponent(location.pathname.split('/reader/')[1])
3030
: params.collection;
3131

3232
let titleClass = "site-title";

0 commit comments

Comments
 (0)