Update PageTemplate.java

Adding getLocations with query parameters to pass to fb.