Answer the question
In order to leave comments, you need to log in
How does a multi-page site template look right in PUG?
Usually, when creating a multi-page site, a separate html file is created for each page: portfolio.html, about.html, etc. with a similar template
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Title</title>
</head>
<body>
<header class="header"></header>
<div class="main">
Контент страницы
</div>
</body>
<footer></footer>
</html>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question