final
This commit is contained in:
20
task32/views/contact.pug
Normal file
20
task32/views/contact.pug
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>#{title}</title>
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
h1 #{title} в Pug
|
||||
|
||||
if emailsVisible
|
||||
h3 Электронные адреса
|
||||
ul
|
||||
each email in emails
|
||||
li=email
|
||||
else
|
||||
h3 Электроннный адрес отсутствует
|
||||
p Телефон: #{phone}
|
||||
</body>
|
||||
<html>
|
||||
1
task32/views/partials/footer.hbs
Normal file
1
task32/views/partials/footer.hbs
Normal file
@@ -0,0 +1 @@
|
||||
<footer><p>MyCorp - Copyright © 2017</p></footer>
|
||||
4
task32/views/partials/menu.hbs
Normal file
4
task32/views/partials/menu.hbs
Normal file
@@ -0,0 +1,4 @@
|
||||
<nav>
|
||||
<a href="/">Главная</a> |
|
||||
<a href="/contact">Контакты</a>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user