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

✨ Ability to use Tags in article lists #1299

Open
frokfrdk opened this issue Mar 8, 2024 · 1 comment
Open

✨ Ability to use Tags in article lists #1299

frokfrdk opened this issue Mar 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@frokfrdk
Copy link

frokfrdk commented Mar 8, 2024

Is your feature request related to a problem? Please describe.
This is in regards to the List feature for pages which lets you list a series of articles on a page as shown here:
https://blowfish.page/docs/shortcodes/#list

Describe the solution you'd like
I cannot for the life of me figure out how to get this to work, instead, why not add an option to simply just use tags? So instead you create the article list, you add what tags you want, and then it can be updated automatically as you add more things to the tags.

Describe alternatives you've considered
The only other option I can figure out is to just manually add in the articles into a list as shown here:
https://blowfish.page/docs/shortcodes/#article
However, this has caused issues when building the website when linking to articles that has a link to the other page already in it. I am unsure of why it does this but it doesn't allow the website to build at all

If there is a better solution that already exists please let me know! Thanks

@nunocoracao
Copy link
Owner

Hello @frokfrdk right now the shortcode uses a where clause over the regularpages of the site. So querying by tag is not possible with the shortcode. Check https://gohugo.io/documentation/ to see page parameters you can use.

This sounds like a good one though but I'll need some time thanks for suggesting it

@nunocoracao nunocoracao changed the title Ability to use Tags in article lists ✨ Ability to use Tags in article lists Mar 9, 2024
@nunocoracao nunocoracao added the enhancement New feature or request label Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants