added ability to use liquid variables inside of a gallery block