Add route params to load samples and/or templates by URL.