-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
theme: support full page width #752
Comments
In the past I was strictly agaist this.
Now, the second point doesn't apply anymore. Implementing this is pretty easy to achieve. So with the old hard coded value as default there is no reason not to do this. In the best case, it will be included in the next release - but first I have to finish #679. |
Hi All, Implementation: STEP-1: Tell hugo to render an extra "embed" page. In config.toml the following is required: ''' [outputFormats] Step-2: Modify the file ..\layouts\partials\topbar\area\end.html to show the button ontop of the page:
Step-3: Create a new \layouts\partials\archetypes\default\article-embed.html with the following content:
Please also notice that the <style> codeblock is a quick hack so that the page appears to have the same style as the rest, I am shure this is not perfect but for the moment serves the purpose. Step-4 Customization is required for the following files stored in \layouts\partials: footer.embed.html copy from footer.html but without the extras which should not appear in full-screen mode. |
As far as I understood this (@mudler correct me if I am wrong) this issue is not about hiding the chrome part (menu & topbar) but to leverage existing available whitespace to the left and right of the article if your screen width exceeds the current maximum width threshold. |
oops, I understand, sorry for the confusion here :=). |
I'd love this aswell |
Hi @McShelby 👋
As promised here I am asking for some advice here, is there a way to have full-width pages, or a way to make them consume all the available space?
I think would be nice to offer a toggle for those that wants to use full space of the page, however there are also corner cases (like the screenshot below, for example) when this is an issue as well.
Thanks for making relearn!
The text was updated successfully, but these errors were encountered: