Make title and sort field configurable

Example config: 
```
gallery:
 title: Photography
 sort_field: title
```