Hello Hugoers,
I hope you are all doing well!
I am trying to do some advanced design on some of my pages.
For instance, I want to put some text and images in special divs here and there, etc.
For this, the solution I found is to use specific templates:
content
mysection
_index.md
layout
section
mysection.html
The content of the markdown is basically only the front matter (title and menu infos).
All the design is done in the html file.
I wonder if I could use some parts of the markdown content in the HTML? Something like: {{.Content.chapter1}}
Or some other way to access the details of the content from the markdown…
An example of usage is a page with a list of videos. How could I list the videos in the markdown, and display them in a row/collumn design with players?
Thanks