templates/examples.handlebars: Encode queries

CC @jdorweiler @MariagraziaAlastra