1
0

Video 49: Advanced Templating

This commit is contained in:
Jason Williams
2019-10-05 18:06:33 -06:00
parent a2d9baf6e7
commit 3bc267a057
6 changed files with 22 additions and 8 deletions

View File

@@ -0,0 +1 @@
<p>Created by {{name}}</p>

View File

@@ -0,0 +1,7 @@
<h1>{{title}}</h1>
<div>
<a href="/">Weather</a>
<a href="/about">About</a>
<a href="/help">Help</a>
</div>

View File

@@ -7,9 +7,9 @@
</head>
<body>
<h1>{{title}}</h1>
{{>header}}
<img src="/img/me.jpg">
<p>Created by {{name}}</p>
{{>footer}}
</body>
</html>

View File

@@ -7,8 +7,9 @@
</head>
<body>
<h1>Help</h1>
{{>header}}
<p>{{helpText}}</p>
{{>footer}}
</body>
</html>

View File

@@ -8,8 +8,8 @@
</head>
<body>
<h1>{{title}}</h1>
<p>Created by {{name}}</p>
{{>header}}
{{>footer}}
</body>
</html>