How to show the content of a shared md-file in a layout file? #877
-
Hi all, yellow to show the content of the page.md one uses within default.html
I found #848 so that one I appreciate any suggestions. Thank you! Greetings, Markus |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hello Markus. The class YellowPage let's you access shared pages. Here's an example layout file
Here's an example content file
There are possibly other ways to do this with the API. Please note that shared content files need |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot Mark!
THAT was the point I missed! I just started with yellow and bäm, fell into a newbie-trap... |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot! 🙂Gesendet von Outlook für Android
|
Beta Was this translation helpful? Give feedback.
Hello Markus. The class YellowPage let's you access shared pages.
Here's an example layout file
system/layouts/default.html
:Here's an example content file
content/shared/info.md
:There are possibly othe…