You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure that sounds vague; basically, I really like the sidebar, and since my site has no real content on it, I want to make an "under construction" page from it. It takes two changes, and possibly one more:
Sidebar color becomes background color
Sidebar content is centered on page
(Ideally) the ability to generate this page standalone so that it's just one HTML file.
That last one is presuming it doesn't depend on any static files that can't be in the page. Depending on Hugo's architecture, this may not be doable without needing a seperate theme directory that only makes this page. (I would probably use it anyway, honestly.)
The text was updated successfully, but these errors were encountered:
Off the top of my head you could probably get the general result you want by overriding a few things from the theme:
Add your own custom CSS file that overrides some of the sidebar's styles to stretch it across the page and align the content.
Override layouts/partials/head.html to also reference your new CSS file.
Override layouts/index.html to essentially do nothing.
I don't think it's possible to pack it all into a single file, there are too many secondary resources like CSS, JS, 404 page, license page etc
As far as doing all of this out of the box, I'm not sure there's an elegant way to seamlessly handle sites both with and without content. I'll give it some thought.
I'm sure that sounds vague; basically, I really like the sidebar, and since my site has no real content on it, I want to make an "under construction" page from it. It takes two changes, and possibly one more:
That last one is presuming it doesn't depend on any static files that can't be in the page. Depending on Hugo's architecture, this may not be doable without needing a seperate theme directory that only makes this page. (I would probably use it anyway, honestly.)
The text was updated successfully, but these errors were encountered: