I have created a project from Kitechensink. I have the following code:
…
<div class="page-content">
<div class="title">1.0.Introduction</div>
<h1 id="summary" class="page-title">Introduction</h1>
<div> <a class="btn" href="#summary"> Back to Top </a> </div>
==========
When the Back to Top button, nothing happens.
My routes.js is this:
var routes = [
// Index page
{
path: ‘/’,
url: ‘./index.html’,
name: ‘home’,
},
// About page
{
path: ‘/about/’,
url: ‘./pages/about.html’,
name: ‘about’,
},
// Right Panel pages
];
How can I get ‘Back to Top’ button to work?
Thanks !