Provides @alternate function for blade templates