Auto create field aware Drupal node.tpl files from CINC Display yaml files.
Install globally via npm
npm i cinc2tpl -g
Go to your root Drupal directory and run
This will scan your entire Drupal directory for cinc_display.node files and grab the visible fields. It will then compare the field names with the field settings file to create field aware markup for fields in the tpl file.
For example. If you have an image field it will wrap it with a
<figure> tag instead of a
It will create these files in the root of your directory, which you can then copy to the appropriate theme folder.