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

two columns index gallery layout #1252

Open
noraj opened this issue Dec 18, 2023 · 2 comments
Open

two columns index gallery layout #1252

noraj opened this issue Dec 18, 2023 · 2 comments
Labels
feature:core Feature request that affects layout, styles, scripts, etc.

Comments

@noraj
Copy link
Contributor

noraj commented Dec 18, 2023

Is your feature request related to a problem? Please describe.

I would like to take advantage of Layout Configuration Files to have no widgets for pages, widgets 3-columns styles for articles, but a two columns layout for the index gallery (home page) like on hueman.

Describe the solution you'd like

Have an alternative index layout for the homepage, probably will require a new node in the configuration file.

Describe alternatives you've considered

Instead of a fixed alternative layout (2 columns index), modify the current layout to have a configurable number of columns (currently 1, but could be 2 or 3).

@ppoffice
Copy link
Owner

You can do it with Layout Configuration Files. Just create _config.yaml with widgets all in one column, _config.post.yaml with widgets in left and right columns, and _config.page.yaml with no widgets.

You will need to modify the layout files if you need further customizations.

@ppoffice ppoffice added wontfix Something that will not be done or fixed. feature:core Feature request that affects layout, styles, scripts, etc. labels Dec 21, 2023
@stale stale bot removed the wontfix Something that will not be done or fixed. label Dec 21, 2023
@noraj
Copy link
Contributor Author

noraj commented Dec 21, 2023

Maybe it was unclear, I'm not talking about the total number of columns (with widgets sidebars), for that I know I can use Layout Configuration Files. But I was talking of the number of columns inside of the content column. Not for posts or pages but only for the homepage index.

Eg.

image

You will need to modify the layout files if you need further customizations.

Yeah of course I could do some custom dev myself but the whole point of the issue is to avoid to have to maintain a custom fork and rather have an option in the configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:core Feature request that affects layout, styles, scripts, etc.
Projects
None yet
Development

No branches or pull requests

2 participants