J
J
jimmy_hendrix2019-05-26 16:50:22
JavaScript
jimmy_hendrix, 2019-05-26 16:50:22

How to make gulp generate html or pug code based on directories inside a project?

There is a project - a static portfolio site with presentation pages on html + css, media content in the form of images clings to the pages, etc. etc. All projects are in the subfolders of the project next to the index page The
question is: how can I sort through the folders in the portfolio using gulp, take the names and paths to the index pages of each portfolio page and insert this list with projects and links according to a certain template on the main page of the project

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