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

Unused Generated Pages #539

Open
CGBassPlayer opened this issue Apr 2, 2023 · 4 comments
Open

Unused Generated Pages #539

CGBassPlayer opened this issue Apr 2, 2023 · 4 comments
Labels
low priority ... but not necessarily unimportant

Comments

@CGBassPlayer
Copy link
Collaborator

CGBassPlayer commented Apr 2, 2023

URL

https://www.jupiterbroadcasting.com/categories/

Summary

While looking into #516 I noticed that there are category pages for each show being built that are just blank. Hugo is making these html files and adding them to sitemap for some reason. My best spitball is that they are either some default by Hugo, but I am really not sure

jupiterbroadcasting.com/public/categories
├── coder-radio
│   ├── index.html
│   └── index.xml
├── index.html
├── index.xml
├── jupiter-extras
│   ├── index.html
│   └── index.xml
├── linux-action-news
│   ├── index.html
│   └── index.xml
├── linux-unplugged
│   ├── index.html
│   └── index.xml
├── office-hours
│   ├── index.html
│   └── index.xml
└── self-hosted
    ├── index.html
    └── index.xml
@CGBassPlayer CGBassPlayer added design design and visual low priority ... but not necessarily unimportant and removed design design and visual labels Apr 2, 2023
@CGBassPlayer
Copy link
Collaborator Author

While working on #572 I realized that this is a taxonomy on the site and hugo is generating the default taxonomy page for it. I am not sure what the original idea was for the "category" taxonomy, but I will remove category from the taxonomy list and make sure that it does not break anything on the site and we won't have that random page sitting in there.

@CGBassPlayer CGBassPlayer changed the title Unused Category Pages Unused Generated Pages Jan 15, 2024
@CGBassPlayer
Copy link
Collaborator Author

I have also come across other unused pages that exists for every person and every sponsor on the website.

This can be observed at:

The existence of these pages are appearing while I am working on search functionality. I am curious if there is a way for Hugo to build in redirects for these pages to go to the pages they should go to. Or we should figure out how to configure Hugo to not build these pages in the first page

@reclaimingmytime
Copy link
Contributor

reclaimingmytime commented Jan 15, 2024

https://www.jupiterbroadcasting.com/tailscale.com-ssh/

This page gives a 404 for me. I think you mean https://www.jupiterbroadcasting.com/sponsors/tailscale.com-ssh/ ? Using the format of /sponsors/ in the URL.

we should figure out how to configure Hugo to not build these pages in the first page

That's of course better than a redirect.

I don't know enough about Hugo and the way the JB URL structure has been built. But just looking at the markdown source files, it looks like the source is indeed mostly blank.

@ChanceM
Copy link
Contributor

ChanceM commented May 1, 2024

We could convert the sponsors to data and pull and display. I think we could make that change transparent to the front end users. We would need to modify the scraper to output them in a different format and directory, but the existing and future episodes would not need to be altered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority ... but not necessarily unimportant
Projects
None yet
Development

No branches or pull requests

3 participants