Fix template design vs normal mode, and add tryGetTemplate tryGetTemplate is for when the set of templates is not statically known.
Fix template design vs normal mode, and add tryGetTemplate
tryGetTemplate is for when the set of templates is not statically known.


erantapaa/hackage-server,haskell-infra/hackage-server,snoyberg/hackage-server,ocharles/hackage-server,edsko/hackage-server,agrafix/hackage-server,dzackgarza/hackage-server,chrisdotcode/hackage-server,grayjay/hackage-server,erantapaa/hackage-server,snoyberg/hackage-server,tkvogt/hackage-server,chrisdotcode/hackage-server,dzackgarza/hackage-server,edsko/hackage-server,ocharles/hackage-server,tkvogt/hackage-server,grayjay/hackage-server,agrafix/hackage-server