add res directory to each article