Update base.tmpl

Guard against putting in blank list-items if license/search_form are blank.