MACHIN
This commit is contained in:
16
28/views/contact.hbs
Normal file
16
28/views/contact.hbs
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{title}}</title>
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
{{> menu}}
|
||||
|
||||
<h1>{{title}}</h1>
|
||||
<p>Электронный адрес: {{email}}</p>
|
||||
<p>Телефон: {{phone}}</p>
|
||||
|
||||
{{> footer}}
|
||||
</body>
|
||||
<html>
|
||||
16
28/views/home.hbs
Normal file
16
28/views/home.hbs
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{title}}</title>
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
{{> menu}}
|
||||
|
||||
<h1>{{title}}</h1>
|
||||
<p>Электронный адрес: {{email}}</p>
|
||||
<p>Телефон: {{phone}}</p>
|
||||
|
||||
{{> footer}}
|
||||
</body>
|
||||
<html>
|
||||
1
28/views/partials/footer.hbs
Normal file
1
28/views/partials/footer.hbs
Normal file
@@ -0,0 +1 @@
|
||||
<footer><p>MyCorp - Copyright © 2017</p></footer>
|
||||
4
28/views/partials/menu.hbs
Normal file
4
28/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