Video 48: Customizing the Views Directory
This commit is contained in:
15
web-server/templates/about.hbs
Normal file
15
web-server/templates/about.hbs
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{title}}</h1>
|
||||
<img src="/img/me.jpg">
|
||||
<p>Created by {{name}}</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
14
web-server/templates/help.hbs
Normal file
14
web-server/templates/help.hbs
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Help</h1>
|
||||
<p>{{helpText}}</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
15
web-server/templates/index.hbs
Normal file
15
web-server/templates/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>
|
||||
<h1>{{title}}</h1>
|
||||
<p>Created by {{name}}</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user