This fixes a regression from #333, which caused the footer links to be displayed in a different order than they are given in config.yaml.
The code to merge config dictionaries was converting the lists of keys in the two dictionaries into a set to avoid doing the same work twice, but the set conversion doesn't preserve the order of the keys. The amount of work saved by using a set is not enough to matter, plus it's only done once at startup.
This fixes a regression from #333, which caused the footer links to be displayed in a different order than they are given in
config.yaml
.The code to merge config dictionaries was converting the lists of keys in the two dictionaries into a set to avoid doing the same work twice, but the set conversion doesn't preserve the order of the keys. The amount of work saved by using a set is not enough to matter, plus it's only done once at startup.