Feature: Added header and footers to templates

Dave Kimura
Dave Kimura
It's important on many aspects to be able to trust what websites are doing. It's really annoying when they do something and keep it hidden from the end users or authors on the site. So, I'd like to introduce a new feature that has been added into the templates. It is generated on the server side, so all templates will get this adoption. The idea is that we will have a header and footer before and after the template runs.

The Header simply displays a Rubidium logo. The footer will display a green message with the name of the template, your author name (head over to https://www.rubidium.io/users/edit to set your name) and also a URL to the template.

Another additional feature that has been added into the templates automatically is a check. There are times when someone runs a template, they're just wanting to check things out. They want to see if this template's feature will be a good fit for them. However, they may already be in the middle of a project and want to give this feature a shot. What happens when the user runs a template but then decides that this is not the right fit for them. If they have unstaged commits, this could be disastrous in undoing. So, we've added a warning to the end users for any commits which have not yet been staged. They will be prompted to continue and have the option to exit the template before anything is executed. This is a safety check for all of us!