rescript-association / reasonml.org

Deprecated in favor of rescript-lang.org
MIT License
125 stars 33 forks source link

Add pages title #97

Open montogeek opened 4 years ago

montogeek commented 4 years ago

I just noticed that pages don't have a title. I am willing to implement this feature.

ryyppy commented 4 years ago

Just so you know, I have been tinkering around with ways on how to pass meta data from the pages into the layout components. At some point we will probably need some frontmatter parsing in the markdown itself, to be able to add description text, keywords, title etc more easily.

Currently there are some bigger changes in the layout architecture coming in #118, so let's see where this will fit in

ryyppy commented 4 years ago

Update: Now with #135 merged, we finally have a frontmatter parsing setup that seems to work pretty well. I wanted to adapt the rest of the infrastructure to be able to pass meta data / title frontmatter to the layout component