Support layout "slide", and add "/assets" prefix to css/js files