title: How to get the name of a koa route in a pug template?
body: <p>I named a route using the documentation from here: <a href="https://github.com/ZijianHe/koa-router#named-routes" rel="nofollow noreferrer">https://github.com/ZijianHe/koa-router#named-routes</a>.</p>
  
  <p>Here's the example:</p>
  
  <pre><code>publicViewsRouter.get('home', '/', homeView)
  </code></pre>
  
  <p>How can I get the name of the route, which is <code>home</code> and put it inside a pug templated page to get the result like this below?</p>
  
  <pre><code>&lt;input type="hidden" value="home" /&gt;
  </code></pre>