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
The background of this page is completely white, whereas I would like it to match the home page when in light mode (gray).
I tried to add layout: archives to the front matter, and this gives the correct background, but obviously I do not want this page to be archive.
So I copied the file themes/PaperMod/layouts/_default/archives.html to a file in my local layout dir (with a view to modify it), but it then didn't apply the correct background.
What is the correct way to have the layout of a generic page, with correct background?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First, thanks so much for this great repo!
I am trying to add a new page in the menu, say a page "Contact".
I added "Contact" in the menu.
Then I created the file : content/contact.md:
The background of this page is completely white, whereas I would like it to match the home page when in light mode (gray).
I tried to add
layout: archives
to the front matter, and this gives the correct background, but obviously I do not want this page to be archive.So I copied the file
themes/PaperMod/layouts/_default/archives.html
to a file in my locallayout
dir (with a view to modify it), but it then didn't apply the correct background.What is the correct way to have the layout of a generic page, with correct background?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions