Replies: 1 comment 1 reply
-
|
Currently it’s not possible to mix different layouts, the docs layout and blog layout use separate templates. You can either continue using the default blog layout, or override it by copying the docs layout files into your site's corresponding layouts folder e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Fantastic theme you've built here! I'm just getting started with a project and I'm hoping to write my blog posts in the docs format, to get the left-hand menu. I'd like to get them under the
/blog/route though.So far I have included:
in the frontmatter of my
_index.mdfile in the/blogfolder. This gets me the desired layout on the blog post.However, when visiting
https://mydomain.tld/blog, no listing appears, presumably because the blog posts are actually docs articles now.TL;DR - I want to write a blog, but have each blog post be in the style of a
docspage, and have the/bloghomepage (index) include the lefthand menu sidebar. Is this possible?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions