I am trying to set up a simple site. I downloaded 1.4 rc2 of Grav + Admin, created a modular page and am currently trying to setup a feature page.
The first thing that made me wonder: is there an alternative to specifying the features in the expert view frontmatter? Would it be possible to rebuild the same structure in the markdown text?
The next thing that got me stuck: I am trying to use FontAwesome icons in the features, but although I copied and pasted the frontmatter of another theme, no icon is shown.
I read in the documentation about the Asset Manager and it seems that I am missing js-inline: - 'https://use.fontawesome.com/<embedcode>.js' in my system.yaml.
Here more questions arose: Can I safely edit system.yaml? Is there a place in the admin panel, where I could edit this part of system.yaml? Is this single change sufficient to get the FontAwesome icons working? Is there a better way to achieve my goal?
maybe i cannot answer all of your questions, but let me try it with this one:
You can use HTML in your markdown. So if you wish to remake the “Features”-view in plain markdown you’re able to. Just copy the necessary html of an existing page and edit it as you like. I really don’t know why you wish to do it like that, but you re able to.
You can safely edit the “system.yaml”. But you should always do it in the the “user/config”-folder. You can just copy your system.yaml to this directory and change it. You can read all about it here.
I personally prefer editing markdown in the main content field than editing the frontmatter - that’s why I wondered, whether there is a way to have a feature section while avoiding frontmatter editing.
I will try getting FontAwesome to work by editing user/config/system.yaml - thank you for pointing out the right place to do that!