Restructured template to allow easier customization

Add a new resources template, which contains the specific resources
information, this template is included in the index.
Add ids to each resources