I
I
Igor2018-03-14 23:07:57
gulp.js
Igor, 2018-03-14 23:07:57

I need to automatically generate an index html page, with a list (i.e. navigation) of other html pages in the project, is there such an npm package?

There is a project builder (gulp + sass + nunjucks)
After building the project, we get a ready-made layout for a large number of pages at once:
index-home.html, news.html, catalog.html, about.html, articles.html, 404.html and etc.
For convenient viewing of the layout, I would like to automatically create such an index page - index.html,
which will contain a list of links to other html pages (navigation through the layout pages)
The question is, is there such a package for gulp that will help automate the creation of such a page?
Or is there some other way to automate the creation of such a list of links.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question