pipe-cd / pipecd

The One CD for All {applications, platforms, operations}
https://pipecd.dev
Apache License 2.0
1.09k stars 153 forks source link

[blog] Tags and Categories do not appear #4965

Closed t-kikuc closed 4 months ago

t-kikuc commented 5 months ago

What happened:

Even though this PR https://github.com/pipe-cd/pipecd/pull/4959 is merged, tags and categories are not applied as below.

image

What you expected to happen:

Tags and categories will appear as below.

image

How to reproduce it:

Go to any blog at https://pipecd.dev/blog/.

Or execute make run/site with Hugo v0.92.1.

Environment:

Possible Solution

The cause might be the version of Hugo, so we need to update it. (The issue already exists: https://github.com/pipe-cd/pipecd/issues/4902)

Now PipeCD uses v0.92.1 for the site. https://github.com/pipe-cd/pipecd/blob/b2dca474e1f18a7af5ed22e88a826ff4a21f2266/.github/workflows/publish_site.yaml#L29

When I executed make run/site with Hugo v0.125.1, tags and categories appeared.

t-kikuc commented 5 months ago

I'll open a PR after releasing v0.48.0.

I'll update [1]peaceiris/actions-hugo's version and [2]hugo-version here: https://github.com/pipe-cd/pipecd/blob/ce9bc16169c3898232918d2c52591107ea180095/.github/workflows/publish_site.yaml#L26-L30

t-kikuc commented 5 months ago

I found another issue. I want to hide tags in pages other than blog. e.g. Tags are shown in docs too.

image