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

Query loop: Title block as paragraph #66916

Closed
Drivingralle opened this issue Nov 11, 2024 · 2 comments
Closed

Query loop: Title block as paragraph #66916

Drivingralle opened this issue Nov 11, 2024 · 2 comments
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@Drivingralle
Copy link

What problem does this address?

While I was building a client website I tried to create a section, that talks about the blog. In this section I wanted to list a few posts. Therefore I used the query block to fetch them dynamically. With filters and styling option I can get the list to look fine. But the markup of the page is "broken". There is only the option to make the post title to be a headline. But in this case the headline tags are breaking the structure of the document.

The same if I use query blocks inside the footer to automatically display child pages for navigation. Suddenly there are headlines of some level inside the footer no matter if the main content doesn't lead to the headling level.
As far es I know there should be no headings inside the footer anyway.

What is your proposed solution?

Extent the list of allowed tags/heading-levels to also include the paragraph tag.

@Drivingralle Drivingralle added the [Type] Enhancement A suggestion for improvement. label Nov 11, 2024
@Marc-pi
Copy link

Marc-pi commented Nov 11, 2024

yep, i've also this need.
Sometimes we don't want to force a heading as title for the "Title block"
in the dropdown, would be fine to add a "no heading" like option (div)
Image

@carolinan
Copy link
Contributor

Hi
There seems to be some confusion here.
The post title block is not part of the query loop. It is its own block and can be placed outside the query loop.
Using the p tag with the post title block is already discussed in this issue: #30549
So I am closing this as a duplicate, please continue the discussion in the original issue.

@carolinan carolinan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
@carolinan carolinan added [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed and removed [Type] Enhancement A suggestion for improvement. labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

3 participants