How can I add a sidebar to the blog-start layout? #1002
-
I haven't updated my yellow blog since version 0.6, so I'm just starting over with a fresh version 0.9 installation. The only issue I've run into so far is with the theme. My theme has a sidebar, and I'm able to add the php to make it appear on the default layout, but whenever I try to add it to the blog-start layout, it says "file not found" and doesn't display anything else, or even the sidebar. I have the sidebar.md in the shared folder, with Status: shared in the yaml frontmatter. My default sidebar layout looks like this:
And it works perfectly fine. Where should I add the php code to the blog-start layout for it to work? EDIT: I was able to add
...to the blog entry layout while replacing
...and did not have any issues. For some reason the only layout I'm not able to add this to is the blog-start layout. The error I get is "File not found |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 4 replies
-
From what I can see, you have done everything correct.
The error message tells me that something else has gone wrong. Tip: The blog extension shows the error message |
Beta Was this translation helpful? Give feedback.
From what I can see, you have done everything correct.
with-sidebar
for your custom CSS.<div>...</div>
with your sidebar HTML.The error message tells me that something else has gone wrong.
Tip: The blog extension shows the error message
File not found
if blog pages can not be found. You mentioned that you recently updated Datenstrom Yellow and I suspect that the cause of the problem lies here. Remember that in Datenstrom Yellow 0.8.2 the page settingTemplate: blog
has been changed toLayout: blog
. You probably have to adjust some page settings, have a look inside your content folder. See also discus…