Switch order in base file to compile variables properly

I tried to run this in my Middleman app but came across compiling errors with a custom variable undefined in the "extends" file.