Video 49: Advanced Templating
This commit is contained in:
15
web-server/templates/views/about.hbs
Normal file
15
web-server/templates/views/about.hbs
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{>header}}
|
||||
<img src="/img/me.jpg">
|
||||
{{>footer}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
15
web-server/templates/views/help.hbs
Normal file
15
web-server/templates/views/help.hbs
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{>header}}
|
||||
<p>{{helpText}}</p>
|
||||
{{>footer}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
15
web-server/templates/views/index.hbs
Normal file
15
web-server/templates/views/index.hbs
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
<script src="/js/app.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{>header}}
|
||||
{{>footer}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user