Answer the question
In order to leave comments, you need to log in
How to get project page titles and write to json, yaml?
I want to put ready-made pages into a separate file in the made-up project, so that it is convenient to navigate through them, and I can’t find a solution for gulp without writing the name of each page with my hands. It is required to go through the folder, select
all the pages and write ONLY the titles, without the content, into another . Maybe someone met a plugin for gulp or knows solutions in js?
Answer the question
In order to leave comments, you need to log in
Run in the console in the directory with the files:ls -R > filenames.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question