A
A
Alexey Dubrovin2021-06-28 02:46:12
Pug
Alexey Dubrovin, 2021-06-28 02:46:12

How to make small templates and include them in a file?

It is necessary that when adding to the main page it would be possible to dynamically change the
main file block:

doctype
html(lang='en')
    head
        meta(charset='utf-8')
        title
    body
        //Подключаем файл "test"


test file
h1 Сюда вставляем данные

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