-
I'd like to have a standard liquid layout be applied to all my markdown content pages. I don't want to have to specify |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@ahillio It might depend on how your site is set up. If you have all your *.md files in a subdirectory, you could try using a directory data file which sets If you aren't using a subfolder, you could possibly try creating a _data/layout.json file and paste the following. It worked on my simple test case, but it was admittedly a very basic test case with only 3 templates and I didn't try overwriting the layout in any of other templates, so your mileage may vary: "layouts/the-same-layout.liquid" |
Beta Was this translation helpful? Give feedback.
@ahillio It might depend on how your site is set up. If you have all your *.md files in a subdirectory, you could try using a directory data file which sets
"layout": "the-same-layout.liquid"
via JSON or JavaScript.If you aren't using a subfolder, you could possibly try creating a _data/layout.json file and paste the following. It worked on my simple test case, but it was admittedly a very basic test case with only 3 templates and I didn't try overwriting the layout in any of other templates, so your mileage may vary:
"layouts/the-same-layout.liquid"