Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Series does not show any list #1283

Closed
mattklapman opened this issue Feb 29, 2024 · 11 comments
Closed

🐛 Series does not show any list #1283

mattklapman opened this issue Feb 29, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@mattklapman
Copy link

The series feature generates properly and shows up in a post, but the drop down no longer works.

see https://blog.jrlabs.io/posts/2024-02-26-pointer-chasing-and-the-boundary-of-a-host/ for an example of the failure.

This is with Blowfish v2.59.0 on Hugo v0.123.6. It was working on earlier releases this month.

@nunocoracao
Copy link
Owner

Thanks for bringing this up @mattklapman is there any way I can check the code for that page? Series seems to be working on Blowfish's website so I wanted to debug locally

@mattklapman
Copy link
Author

mattklapman commented Mar 1, 2024 via email

@mattklapman
Copy link
Author

mattklapman commented Mar 4, 2024 via email

@ennnbeee
Copy link

ennnbeee commented Mar 5, 2024

Same issue here, series works with a value without spaces, as soon as you put in a space it stops populating.

Running latest version of blowfish, hugo v0.123.7-312735366b20d64bd61bff8627f593749f86c964+extended windows/amd64.

No Space
image

Space
image

@nunocoracao
Copy link
Owner

@ennnbeee please provide the markdown corresponding to both images I am not able to reproduce this bug

@nunocoracao nunocoracao added question Further information is requested investigating investigating the issue not reproducible labels Mar 6, 2024
@nunocoracao nunocoracao changed the title Series does not show any list ❓ Series does not show any list Mar 9, 2024
@ennnbeee
Copy link

Not working with spaces in the series:

---
title: "Risk Based Windows 11 Feature Update Deployment - Device Attributes"
date: 2024-03-07T10:11:03Z
draft: true
description: "Deploying Windows 11 23H2 feature updates using Microsoft Intune using Dynamic Device Groups in Entra ID and Feature Update Readiness reports to tag devices based on risk."
summary: "Having captured the Feature Update Readiness data for Windows 11 23H2, we can now use this risk based data to tag devices with their associated risk, grouping them together to allow for Feature Update profile assignment."
showDate: true
authors:
  - "ennbee"
tags: ["intune", "windows", "updates", "groups", "powershell", "graph"]
series: ["Risk Based Windows 11 Feature Update Deployment"]
series_order: 2
---

Working with no spaces in the series:

---
title: "Risk Based Windows 11 Feature Update Deployment - Device Attributes"
date: 2024-03-07T10:11:03Z
draft: true
description: "Deploying Windows 11 23H2 feature updates using Microsoft Intune using Dynamic Device Groups in Entra ID and Feature Update Readiness reports to tag devices based on risk."
summary: "Having captured the Feature Update Readiness data for Windows 11 23H2, we can now use this risk based data to tag devices with their associated risk, grouping them together to allow for Feature Update profile assignment."
showDate: true
authors:
  - "ennbee"
tags: ["intune", "windows", "updates", "groups", "powershell", "graph"]
series: ["RiskBasedWindows11FeatureUpdateDeployment"]
series_order: 2
---

@nunocoracao nunocoracao added bug Something isn't working and removed question Further information is requested investigating investigating the issue not reproducible labels Mar 11, 2024
@nunocoracao nunocoracao changed the title ❓ Series does not show any list 🐛 Series does not show any list Mar 11, 2024
@ennnbeee
Copy link

Just to add, the same markdown works on a macOS device, just Windows having issues. I wonder if this is down to the the series partials, with them doing a replace with '-' ?

@nunocoracao
Copy link
Owner

Thanks @ennnbeee that comment is gold - meaning I won't be able to reproduce/fix the bug then :D
I will have a look but probably will need someone with Windows to help me.

@eplots
Copy link

eplots commented Mar 17, 2024

Can add that on Linux, only one of the series need a '-' to get it all together:

series:
  - "Lorem-ipsum"
series_order: 1
series:
  - "Lorem ipsum"
series_order: 2

Gives a result of, on the page with order 1 (showing a '-'):
image

On the page with order 2, it shows without '-':
image

The series page shows it with a '-'.

@ennnbeee
Copy link

ennnbeee commented Mar 20, 2024

Thanks @ennnbeee that comment is gold - meaning I won't be able to reproduce/fix the bug then :D I will have a look but probably will need someone with Windows to help me.

Same issue on macOS annoyingly

I can fix it by changing line 9 in the series.html partial from {{ $seriesNameURL := strings.Replace $seriesName " " "-" }} to {{ $seriesNameURL := $seriesName }}.

For some reason the transform to replace spaces with hyphens seems to break things.

@nunocoracao
Copy link
Owner

I followed @ennnbeee and it seems to work and avoid whitespace issues across OS. merge incoming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants