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

Make the page layout avalible outisde of home page #139

Closed
MikiVanousek opened this issue Mar 1, 2022 · 1 comment
Closed

Make the page layout avalible outisde of home page #139

MikiVanousek opened this issue Mar 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@MikiVanousek
Copy link
Contributor

MikiVanousek commented Mar 1, 2022

What is it about the single layout does not meet my needs? A lot of my pages are not blog posts, but just landing pages. I introduce my podcast, my app, etc. If the single template is applied, they show author, date, pagination and reading time by default. This is the desired behavior for blog posts, but I do not want this for my landing pages.

Right now, I just manually disable these for each page separately in the front matter.

showAuthor: false
showDate: false
showReadingTime: false
showPagination: false

First, this is award, as there are multiple pages I need to apply this to separately. Second of all, hiding all the information I want to have for my blog posts creates an awkward empty space below my title.

This is a landing page with layout: single automatically assigned to it.
image

The same page, if I override the layout with layout: list. Notice how the icons are exactly below the title. This is the desired behavior.
image.

If I were able to use the page layout that can be applied to my home page, it would resolve all my problems.

Originally posted by @MikulasVanousek in #128 (reply in thread)

@jpanther
Copy link
Owner

jpanther commented Mar 7, 2022

Thanks for the suggestion. A few people have requested somewhat similar functionality. I'll add a new layout in the next release that allows you to have a simple full-width page without any of the additional theme features. This will hopefully work for your use case as it will give you full control over the content similar to how the homepage works.

@jpanther jpanther added the enhancement New feature or request label Mar 7, 2022
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