The base_standard.html template was an unnecessary level of template inheritance. Also removed unused `min` and `subtract` template tags.
Just a small structural change so that the related functionality is grouped together.