title: How can I write a view callable that displays static html files in pyramid?
body: <p>In my pyramid app, I have several static html files under tutorial/tutorial/pages/name.html (for example). How can I write a view callable for this? Would this work?</p>
  
  <pre><code>     @view_config(renderer='view_page')
       def view_page(request):
           return {} # no values have to be passed to the template
  </code></pre>
  
  <p>then in the <strong>init</strong>.py file </p>
  
  <pre><code>config.add_route('view_page', 'tutorial:pages/{name}.html')
  </code></pre>
  
  <p>What do I need to put in the def view_page(request) function to call that name.html file specifically and then display its content?</p>