V
V
Vinyard Rip2018-05-29 00:07:27
JavaScript
Vinyard Rip, 2018-05-29 00:07:27

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

1 answer(s)
A
Anton Spirin, 2018-05-29
@vinyardrip

Run in the console in the directory with the files:
ls -R > filenames.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question