Fixed bug that throws exception if main layout is only one column
changed fixed urls to dynamic ones with {% static%} tag