In the project I'm working on, it's a CMS, and within it I manage brand website themes. My question is I need to read the header of the file, how do I do this inside the controller?
I need somehow to read this file and list the titles of headers or footers that exist in it.
- header:
- header_submenu_menu
- header_submenu_models
- footer_mobile:
- footer_desktop:
- footer_socialmedia:
I'm using this package: https://github.com/antonioribeiro/yaml