Dave Hollingworth writes:
> Which works nicely. However, it does mean that if I share the theme with
> someone else, they have to edit it if they don't want links like that. So
> is there some way I can achieve this *without* doing it the theme? I
> suppose ideally in the configuration file. Is this possible and if so how
> could I do it?
You could have a config variable that can be set in the config, and then
generate links with or without extension, based on the value of that variable.